Skip to content
Snippets Groups Projects
Commit ce130168 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: split mirrors job

parent 1ea19af5
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !706. Comments created here will be created in the context of that merge request.
...@@ -235,6 +235,18 @@ base: ...@@ -235,6 +235,18 @@ base:
--build-arg BUILD_IMAGE=${BUILD_IMAGE} --build-arg BUILD_IMAGE=${BUILD_IMAGE}
containers/debian 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: jug_dev:
parallel: parallel:
matrix: matrix:
...@@ -263,14 +275,13 @@ jug_dev: ...@@ -263,14 +275,13 @@ jug_dev:
stage: jug stage: jug
needs: needs:
- version - version
- mirrors
- base - base
script: script:
- if [ "${BUILD_TYPE}" == "nightly" ] ; then IF_BUILD_NIGHTLY=1 ; fi - if [ "${BUILD_TYPE}" == "nightly" ] ; then IF_BUILD_NIGHTLY=1 ; fi
- if [ "${BUILD_TYPE}" == "default" ] ; then IF_BUILD_DEFAULT=1 ; fi - if [ "${BUILD_TYPE}" == "default" ] ; then IF_BUILD_DEFAULT=1 ; fi
- source spack.sh ; - source spack.sh ;
source eic-spack.sh ; source eic-spack.sh ;
export SPACK_VERSION ;
cat mirrors.yaml.in | envsubst > mirrors.yaml ;
docker buildx build --push ${BUILD_OPTIONS} docker buildx build --push ${BUILD_OPTIONS}
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}${ENV}:${INTERNAL_TAG}-${BUILD_TYPE} --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}${ENV}:${INTERNAL_TAG}-${BUILD_TYPE}
${EXPORT_TAG:+ ${EXPORT_TAG:+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment