Commit 349dead4 authored by Adam Mercer's avatar Adam Mercer

Merge branch 'ci-updates' into 'pre-o3-release'

Ci updates

See merge request lscsoft/lalsuite!462
parents cc683209 44d0f337
...@@ -51,11 +51,13 @@ cache: ...@@ -51,11 +51,13 @@ cache:
- make -j4 install - make -j4 install
- make -j4 install-html - make -j4 install-html
artifacts: artifacts:
expire_in: 3h expire_in: 18h
paths: paths:
- opt/lalsuite - opt/lalsuite
only: only:
- pushes - pushes
except:
- tags
.levelN:package:stretch: &levelN-package-stretch .levelN:package:stretch: &levelN-package-stretch
image: ligo/lalsuite-dev:stretch image: ligo/lalsuite-dev:stretch
...@@ -407,7 +409,7 @@ nightly:macos:elcapitan: ...@@ -407,7 +409,7 @@ nightly:macos:elcapitan:
- /^lalsuite-v.*$/ - /^lalsuite-v.*$/
- schedules - schedules
artifacts: artifacts:
expire_in: 3h expire_in: 18h
paths: paths:
- wheelhouse - wheelhouse
...@@ -438,7 +440,7 @@ nightly:macos:elcapitan: ...@@ -438,7 +440,7 @@ nightly:macos:elcapitan:
- /^lalsuite-v.*$/ - /^lalsuite-v.*$/
- schedules - schedules
artifacts: artifacts:
expire_in: 3h expire_in: 18h
paths: paths:
- wheelhouse - wheelhouse
...@@ -476,7 +478,7 @@ nightly:wheel:cp37-cp37m-macosx: ...@@ -476,7 +478,7 @@ nightly:wheel:cp37-cp37m-macosx:
- make dist - make dist
- rpmbuild -tb --define "_topdir $CI_PROJECT_DIR/rpmbuild" ${CI_JOB_NAME#level?:rpm:}-*.tar.xz - rpmbuild -tb --define "_topdir $CI_PROJECT_DIR/rpmbuild" ${CI_JOB_NAME#level?:rpm:}-*.tar.xz
artifacts: artifacts:
expire_in: 3h expire_in: 18h
paths: paths:
- rpmbuild/RPMS/x86_64/${CI_JOB_NAME#level?:rpm:}-*.rpm - rpmbuild/RPMS/x86_64/${CI_JOB_NAME#level?:rpm:}-*.rpm
- rpmbuild/RPMS/x86_64/python2-${CI_JOB_NAME#level?:rpm:}-*.rpm - rpmbuild/RPMS/x86_64/python2-${CI_JOB_NAME#level?:rpm:}-*.rpm
...@@ -625,7 +627,7 @@ docker:tags:el7: ...@@ -625,7 +627,7 @@ docker:tags:el7:
- level3:rpm:lalinference - level3:rpm:lalinference
- level4:rpm:lalapps - level4:rpm:lalapps
only: only:
- tags - /^lalsuite-v.*$/
.levelN:deb: &levelN-deb-package .levelN:deb: &levelN-deb-package
image: ligo/lalsuite-dev:stretch image: ligo/lalsuite-dev:stretch
...@@ -653,7 +655,7 @@ docker:tags:el7: ...@@ -653,7 +655,7 @@ docker:tags:el7:
# build packages # build packages
- debuild -us -uc -r - debuild -us -uc -r
artifacts: artifacts:
expire_in: 3h expire_in: 18h
paths: paths:
- ${CI_JOB_NAME#level?:deb:}*.changes - ${CI_JOB_NAME#level?:deb:}*.changes
- ${CI_JOB_NAME#level?:deb:}*.deb - ${CI_JOB_NAME#level?:deb:}*.deb
...@@ -793,7 +795,7 @@ docker:tags:stretch: ...@@ -793,7 +795,7 @@ docker:tags:stretch:
# build container and push to registry # build container and push to registry
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $CI_REGISTRY_IMAGE/$CI_COMMIT_TAG:stretch --file .Dockerfile-stretch.gitlab-ci . - docker build --pull -t $CI_REGISTRY_IMAGE/$CI_COMMIT_TAG:stretch --file .Dockerfile-stretch.gitlab-ci .
- docker push $CI_REGISTRY_IMAGE/$CI_COMMIT_TAG/stretch - docker push $CI_REGISTRY_IMAGE/$CI_COMMIT_TAG:stretch
dependencies: dependencies:
- level0:deb:lal - level0:deb:lal
- level1:deb:lalframe - level1:deb:lalframe
...@@ -805,7 +807,7 @@ docker:tags:stretch: ...@@ -805,7 +807,7 @@ docker:tags:stretch:
- level3:deb:lalinference - level3:deb:lalinference
- level4:deb:lalapps - level4:deb:lalapps
only: only:
- tags - /^lalsuite-v.*$/
pages: pages:
image: ligo/lalsuite-dev:stretch image: ligo/lalsuite-dev:stretch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment