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

Pass deploy tokens to triggered jobs

parent 56fdd539
No related branches found
No related tags found
1 merge request!108Pass deploy tokens to triggered jobs
...@@ -52,6 +52,8 @@ common:setup: ...@@ -52,6 +52,8 @@ common:setup:
echo "JUGGLER_DETECTOR_VERSION = ${JUGGLER_DETECTOR_VERSION}" echo "JUGGLER_DETECTOR_VERSION = ${JUGGLER_DETECTOR_VERSION}"
echo "JUGGLER_DETECTOR=$JUGGLER_DETECTOR" >> juggler.env echo "JUGGLER_DETECTOR=$JUGGLER_DETECTOR" >> juggler.env
echo "JUGGLER_DETECTOR_VERSION=$JUGGLER_DETECTOR_VERSION" >> 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 echo "COMMON_BENCH_VERSION=$COMMON_BENCH_VERSION" >> juggler.env
else else
if [[ "${JUGGLER_DETECTOR}" == "" ]] ; then if [[ "${JUGGLER_DETECTOR}" == "" ]] ; then
...@@ -128,6 +130,8 @@ benchmarks:reconstruction: ...@@ -128,6 +130,8 @@ benchmarks:reconstruction:
variables: variables:
JUGGLER_DETECTOR: "$JUGGLER_DETECTOR" JUGGLER_DETECTOR: "$JUGGLER_DETECTOR"
JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION" 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" COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION"
trigger: trigger:
project: EIC/benchmarks/reconstruction_benchmarks project: EIC/benchmarks/reconstruction_benchmarks
...@@ -139,6 +143,8 @@ benchmarks:physics: ...@@ -139,6 +143,8 @@ benchmarks:physics:
variables: variables:
JUGGLER_DETECTOR: "$JUGGLER_DETECTOR" JUGGLER_DETECTOR: "$JUGGLER_DETECTOR"
JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION" 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" COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION"
trigger: trigger:
project: EIC/benchmarks/physics_benchmarks project: EIC/benchmarks/physics_benchmarks
......
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