From 833c5d5c6d484502e739c8779cea48c8c0e066ca Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Sun, 10 Apr 2022 22:07:05 +0000 Subject: [PATCH] Pass deploy tokens to triggered jobs --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40d6869a..a2d56721 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,6 +52,8 @@ common:setup: echo "JUGGLER_DETECTOR_VERSION = ${JUGGLER_DETECTOR_VERSION}" echo "JUGGLER_DETECTOR=$JUGGLER_DETECTOR" >> juggler.env echo "JUGGLER_DETECTOR_VERSION=$JUGGLER_DETECTOR_VERSION" >> juggler.env + echo "JUGGLER_DETECTOR_DEPLOY_TOKEN_USERNAME=${DEPLOY_TOKEN_USERNAME}" >> juggler.env + echo "JUGGLER_DETECTOR_DEPLOY_TOKEN_PASSWORD=${DEPLOY_TOKEN_PASSWORD}" >> juggler.env echo "COMMON_BENCH_VERSION=$COMMON_BENCH_VERSION" >> juggler.env else if [[ "${JUGGLER_DETECTOR}" == "" ]] ; then @@ -128,6 +130,8 @@ benchmarks:reconstruction: variables: JUGGLER_DETECTOR: "$JUGGLER_DETECTOR" JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION" + JUGGLER_DETECTOR_DEPLOY_TOKEN_USERNAME: "${JUGGLER_DETECTOR_DEPLOY_TOKEN_USERNAME}" + JUGGLER_DETECTOR_DEPLOY_TOKEN_PASSWORD: "${JUGGLER_DETECTOR_DEPLOY_TOKEN_PASSWORD}" COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION" trigger: project: EIC/benchmarks/reconstruction_benchmarks @@ -139,6 +143,8 @@ benchmarks:physics: variables: JUGGLER_DETECTOR: "$JUGGLER_DETECTOR" JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION" + JUGGLER_DETECTOR_DEPLOY_TOKEN_USERNAME: "${JUGGLER_DETECTOR_DEPLOY_TOKEN_USERNAME}" + JUGGLER_DETECTOR_DEPLOY_TOKEN_PASSWORD: "${JUGGLER_DETECTOR_DEPLOY_TOKEN_PASSWORD}" COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION" trigger: project: EIC/benchmarks/physics_benchmarks -- GitLab