From 05fdd30415218ce6393ce73695577de70f6759d6 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Sat, 24 Jul 2021 07:56:43 +0000 Subject: [PATCH] common bench version --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db08a355..47f9cba5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,10 +38,11 @@ common:setup: stage: config before_script: - | - if [[ -z "${COMMON_BENCH_VERSION}" ]] ; then + if [[ "${COMMON_BENCH_VERSION}" == "" ]] ; then export COMMON_BENCH_VERSION="master" fi - git clone -b "${COMMON_BENCH_VERSION}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup + echo "COMMON_BENCH_VERSION = $COMMON_BENCH_VERSION" + git clone -b "$COMMON_BENCH_VERSION" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup script: - | if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "master" ]]; then @@ -49,6 +50,7 @@ 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 "COMMON_BENCH_VERSION=$COMMON_BENCH_VERSION" >> juggler.env fi - source setup/bin/env.sh && ./setup/bin/install_common.sh -- GitLab