From 8083d0c008273d6d6f6225e9399d5245333bf0fc Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Sat, 7 Oct 2023 05:14:00 +0000 Subject: [PATCH] Cleanup env file --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97fbc035..689efae9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,12 +69,13 @@ common:setup: stage: config before_script: - | - if [[ "${COMMON_BENCH_VERSION}" == "" ]] ; then + if [[ -z "${COMMON_BENCH_VERSION}" ]] ; then export COMMON_BENCH_VERSION="master" fi echo "COMMON_BENCH_VERSION = ${COMMON_BENCH_VERSION}" - git clone -b "${COMMON_BENCH_VERSION}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup + echo "COMMON_BENCH_VERSION=${COMMON_BENCH_VERSION}" >> .env script: + - git clone -b "${COMMON_BENCH_VERSION}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup - source setup/bin/env.sh && ./setup/bin/install_common.sh common:detector: -- GitLab