Skip to content
Snippets Groups Projects
Commit 5ec8a5c8 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Some cleanup/improved consistency of the CI

parent 2444675d
No related branches found
No related tags found
1 merge request!16New feature version
...@@ -137,53 +137,55 @@ release:unstable: ...@@ -137,53 +137,55 @@ release:unstable:
- make login - make login
- make develop-cached - make develop-cached
builder:singularity: release:singularity:
stage: singularity stage: singularity
tags: tags:
- silicon - silicon
only: only:
- tags - tags
needs: ["builder:stable"] needs: ["release:stable"]
when: manual
script: script:
- cp containers/builder/eic_builder.def . - cp containers/release/eic.def .
- /bin/bash .gitlabci/setup.sh - /bin/bash .gitlabci/setup.sh
- /bin/bash .gitlabci/build.sh eic_builder.def - /bin/bash .gitlabci/build.sh eic.def
- mkdir -p build - mkdir -p build
- cp eic_builder.sif build/. - cp eic.sif build/.
- cp eic_builder.def build/. - cp eic.def build/.
artifacts: artifacts:
expire_in: 90 days # this will change in future gitlab vesions :https://docs.gitlab.com/13.3/ee/ci/yaml/README.html#artifactsexpire_in
paths: paths:
- build/eic_builder.sif - build/eic.sif
- build/eic_builder.def - build/eic.def
release:singularity:stable:
builder:singularity:unstable:
stage: singularity stage: singularity
tags: tags:
- silicon - silicon
only: only:
- develop - master
needs: ["builder:unstable"] when:
when: manual - manual
needs: ["release:stable"]
script: script:
- cp containers/builder/eic_builder.def . - cp containers/release/eic.def .
- /bin/bash .gitlabci/setup.sh - /bin/bash .gitlabci/setup.sh
- /bin/bash .gitlabci/build.sh eic_builder.def - /bin/bash .gitlabci/build.sh eic.def
- mkdir -p build - mkdir -p build
- cp eic_builder.sif build/. - cp eic.sif build/.
- cp eic_builder.def build/. - cp eic.def build/.
artifacts: artifacts:
expire_in: 90 days # this will change in future gitlab vesions :https://docs.gitlab.com/13.3/ee/ci/yaml/README.html#artifactsexpire_in
paths: paths:
- build/eic_builder.sif - build/eic.sif
- build/eic_builder.def - build/eic.def
release:singularity:testing:
release:singularity:
stage: singularity stage: singularity
tags: tags:
- silicon - silicon
only: only:
- tags - staging
needs: ["release:stable"] when:
- manual
needs: ["release:testing"]
script: script:
- cp containers/release/eic.def . - cp containers/release/eic.def .
- /bin/bash .gitlabci/setup.sh - /bin/bash .gitlabci/setup.sh
...@@ -196,7 +198,6 @@ release:singularity: ...@@ -196,7 +198,6 @@ release:singularity:
paths: paths:
- build/eic.sif - build/eic.sif
- build/eic.def - build/eic.def
release:singularity:unstable: release:singularity:unstable:
stage: singularity stage: singularity
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment