Skip to content
Snippets Groups Projects

feat: simplify .build

Merged Wouter Deconinck requested to merge wdconinc-master-patch-76744 into master
1 file
+ 1
17
Compare changes
  • Side-by-side
  • Inline
+ 1
17
@@ -157,33 +157,17 @@ version:
@@ -157,33 +157,17 @@ version:
echo "NIGHTLY_TAG=$NIGHTLY_TAG" >> build.env
echo "NIGHTLY_TAG=$NIGHTLY_TAG" >> build.env
echo "EXPORT_TAG=$EXPORT_TAG" >> build.env
echo "EXPORT_TAG=$EXPORT_TAG" >> build.env
cat build.env
cat build.env
artifacts:
artifacts:
reports:
reports:
dotenv: build.env
dotenv: build.env
## base job for all build jobs. Dependent jobs are expected to set
## base job settings for all build jobs
## the BUILD_IMAGE environment variable, and take care of the actual
## docker build during the "script" step
## note that the nightly builds use a different pipeline
.build:
.build:
rules:
rules:
- when: on_success
- when: on_success
needs:
- version
resource_group: ${CI_COMMIT_REF_NAME}
resource_group: ${CI_COMMIT_REF_NAME}
## Use docker runner for docker builds
tags:
tags:
- docker-new
- docker-new
## cookie-cutter docker push code, to be included at the
## end of the regular job scripts
script:
- ./gitlab-ci/docker_push.sh -i ${BUILD_IMAGE} -l ${INTERNAL_TAG}
-n $DOCKER_NTRIES -t $DOCKER_WAIT_TIME
${EXPORT_TAG} ${EXPORT_TAG2}
- ./gitlab-ci/docker_push.sh -i ${BUILD_IMAGE} -l ${INTERNAL_TAG}
-n $DOCKER_NTRIES -t $DOCKER_WAIT_TIME
${INTERNAL_TAG} --eicweb
## Images:
## Images:
## debian_testing_base --> jug_dev --> jug_xl
## debian_testing_base --> jug_dev --> jug_xl
Loading