diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb83c0a1714806b82493bc45ffd68785fa9da7b8..c8030de7d95f11945e96d0f3dc6d75e021bd27c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -235,6 +235,18 @@ base: --build-arg BUILD_IMAGE=${BUILD_IMAGE} containers/debian +mirrors: + script: + - apk add envsubst + - | + source spack.sh + source eic-spack.sh + export SPACK_VERSION + cat mirrors.yaml.in | envsubst > mirrors.yaml + artifacts: + paths: + mirrors.yaml + jug_dev: parallel: matrix: @@ -263,14 +275,13 @@ jug_dev: stage: jug needs: - version + - mirrors - base script: - if [ "${BUILD_TYPE}" == "nightly" ] ; then IF_BUILD_NIGHTLY=1 ; fi - if [ "${BUILD_TYPE}" == "default" ] ; then IF_BUILD_DEFAULT=1 ; fi - source spack.sh ; source eic-spack.sh ; - export SPACK_VERSION ; - cat mirrors.yaml.in | envsubst > mirrors.yaml ; docker buildx build --push ${BUILD_OPTIONS} --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}${ENV}:${INTERNAL_TAG}-${BUILD_TYPE} ${EXPORT_TAG:+