Skip to content
Snippets Groups Projects

feat: use official singularity image

Merged Wouter Deconinck requested to merge use-external-singularity-image into master
+ 23
33
image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest
image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest
variables:
variables:
 
## External images
 
DOCKER_IMAGE: docker.io/docker:24.0.5
 
SINGULARITY_IMAGE: quay.io/singularity/singularity:v3.11.4
 
## Application versions used for the main release
## Application versions used for the main release
## note: nightly builds will always use the master/main branch
## note: nightly builds will always use the master/main branch
JUGGLER_VERSION: "v10.0.1"
JUGGLER_VERSION: "v10.0.1"
@@ -406,51 +410,37 @@ jug_xl:nightly:
@@ -406,51 +410,37 @@ jug_xl:nightly:
--build-context detectors=.
--build-context detectors=.
containers/jug
containers/jug
.singularity:
 
singularity:
 
image:
 
name: ${SINGULARITY_IMAGE}
 
entrypoint: [""]
stage: deploy
stage: deploy
interruptible: true
interruptible: true
rules:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_BRANCH == "master"'
when: never
when: on_success
 
- when: on_success
artifacts:
artifacts:
expire_in: 1 days
expire_in: 1 days
paths:
paths:
- build/${BUILD_IMAGE}.sif
- ${BUILD_IMAGE}.sif
script:
parallel:
- mkdir build
matrix:
- singularity pull build/${BUILD_IMAGE}.sif docker://${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${INTERNAL_TAG}
- BUILD_TYPE:
- default
jug_dev:singularity:default:
- nightly
extends: .singularity
BUILD_IMAGE:
 
- jug_dev
 
- jug_xl
needs:
needs:
- version
- version
- jug_dev
- jug_dev
variables:
BUILD_IMAGE: "jug_dev"
jug_xl:singularity:default:
extends: .singularity
needs:
- version
- jug_xl:default
- jug_xl:default
variables:
BUILD_IMAGE: "jug_xl"
jug_xl:singularity:nightly:
extends: .singularity
rules:
- !reference ['.singularity', rules]
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- when: never
needs:
- version
- jug_xl:nightly
- jug_xl:nightly
variables:
BUILD_IMAGE: "jug_xl"
script:
script:
- mkdir build
- singularity pull ${BUILD_IMAGE}.sif docker://${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${INTERNAL_TAG}-${BUILD_TYPE}
- singularity pull build/${BUILD_IMAGE}.sif docker://${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG}
benchmarks:reconstruction:default:
benchmarks:reconstruction:default:
stage: benchmarks
stage: benchmarks
Loading