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
Branches
Tags
1 merge request!16New feature version
......@@ -137,53 +137,55 @@ release:unstable:
- make login
- make develop-cached
builder:singularity:
release:singularity:
stage: singularity
tags:
- silicon
only:
- tags
needs: ["builder:stable"]
when: manual
needs: ["release:stable"]
script:
- cp containers/builder/eic_builder.def .
- cp containers/release/eic.def .
- /bin/bash .gitlabci/setup.sh
- /bin/bash .gitlabci/build.sh eic_builder.def
- /bin/bash .gitlabci/build.sh eic.def
- mkdir -p build
- cp eic_builder.sif build/.
- cp eic_builder.def build/.
- cp eic.sif build/.
- cp eic.def build/.
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:
- build/eic_builder.sif
- build/eic_builder.def
builder:singularity:unstable:
- build/eic.sif
- build/eic.def
release:singularity:stable:
stage: singularity
tags:
- silicon
only:
- develop
needs: ["builder:unstable"]
when: manual
- master
when:
- manual
needs: ["release:stable"]
script:
- cp containers/builder/eic_builder.def .
- cp containers/release/eic.def .
- /bin/bash .gitlabci/setup.sh
- /bin/bash .gitlabci/build.sh eic_builder.def
- /bin/bash .gitlabci/build.sh eic.def
- mkdir -p build
- cp eic_builder.sif build/.
- cp eic_builder.def build/.
- cp eic.sif build/.
- cp eic.def build/.
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:
- build/eic_builder.sif
- build/eic_builder.def
release:singularity:
- build/eic.sif
- build/eic.def
release:singularity:testing:
stage: singularity
tags:
- silicon
only:
- tags
needs: ["release:stable"]
- staging
when:
- manual
needs: ["release:testing"]
script:
- cp containers/release/eic.def .
- /bin/bash .gitlabci/setup.sh
......@@ -196,7 +198,6 @@ release:singularity:
paths:
- build/eic.sif
- build/eic.def
release:singularity:unstable:
stage: singularity
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment