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

fix(ci): don't modify $BUILD_OPTIONS; use $nocache

parent 361eb6e1
No related branches found
No related tags found
1 merge request!992fix(ci): don't modify $BUILD_OPTIONS; use $nocache
Pipeline #101409 passed
Pipeline: reconstruction_benchmarks

#101415

    Pipeline: physics_benchmarks

    #101414

      Pipeline: physics_benchmarks

      #101413

        +3
        ...@@ -270,8 +270,9 @@ base: ...@@ -270,8 +270,9 @@ base:
        - version - version
        script: script:
        - attempts=0 - attempts=0
        - nocache=""
        - while ! - while !
        docker buildx build --push ${BUILD_OPTIONS} docker buildx build --push ${BUILD_OPTIONS} ${nocache}
        --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG} --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG}
        ${EXPORT_TAG:+ ${EXPORT_TAG:+
        ${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}} ${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}}
        ...@@ -287,7 +288,7 @@ base: ...@@ -287,7 +288,7 @@ base:
        2>&1 | tee build.log 2>&1 | tee build.log
        ; do ; do
        if grep "unknown blob" build.log ; then if grep "unknown blob" build.log ; then
        BUILD_OPTIONS="--no-cache ${BUILD_OPTIONS}" ; nocache="--no-cache" ;
        else else
        exit 1 ; exit 1 ;
        fi ; fi ;
        ...@@ -360,8 +361,9 @@ eic: ...@@ -360,8 +361,9 @@ eic:
        export SPACK_VERSION ; export SPACK_VERSION ;
        cat mirrors.yaml.in | envsubst > mirrors.yaml cat mirrors.yaml.in | envsubst > mirrors.yaml
        - attempts=0 - attempts=0
        - nocache=""
        - while ! - while !
        docker buildx build --push ${BUILD_OPTIONS} docker buildx build --push ${BUILD_OPTIONS} ${nocache}
        --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}
        --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE/eic/jug}${ENV}:${INTERNAL_TAG}-${BUILD_TYPE} --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE/eic/jug}${ENV}:${INTERNAL_TAG}-${BUILD_TYPE}
        ${EXPORT_TAG:+ ${EXPORT_TAG:+
        ...@@ -448,7 +450,7 @@ eic: ...@@ -448,7 +450,7 @@ eic:
        2>&1 | tee build.log 2>&1 | tee build.log
        ; do ; do
        if grep "unknown blob" build.log ; then if grep "unknown blob" build.log ; then
        BUILD_OPTIONS="--no-cache-filter spack,builder,staging,runtime ${BUILD_OPTIONS}" ; nocache="--no-cache" ;
        else else
        exit 1 ; exit 1 ;
        fi ; fi ;
        ......
        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