Skip to content
Snippets Groups Projects
Commit 05fdd304 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

common bench version

parent b8493729
No related branches found
No related tags found
1 merge request!62common bench version
...@@ -38,10 +38,11 @@ common:setup: ...@@ -38,10 +38,11 @@ common:setup:
stage: config stage: config
before_script: before_script:
- | - |
if [[ -z "${COMMON_BENCH_VERSION}" ]] ; then if [[ "${COMMON_BENCH_VERSION}" == "" ]] ; then
export COMMON_BENCH_VERSION="master" export COMMON_BENCH_VERSION="master"
fi 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: script:
- | - |
if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "master" ]]; then if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "master" ]]; then
...@@ -49,6 +50,7 @@ common:setup: ...@@ -49,6 +50,7 @@ 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 "COMMON_BENCH_VERSION=$COMMON_BENCH_VERSION" >> juggler.env
fi fi
- source setup/bin/env.sh && ./setup/bin/install_common.sh - source setup/bin/env.sh && ./setup/bin/install_common.sh
......
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