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

fix: split mirrors job

parent 8f4b6dc9
No related branches found
No related tags found
1 merge request!706feat: use official docker image
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.
Finish editing this message first!
Please register or to comment