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

Cleaning up env file

parent 2c4e100b
No related branches found
No related tags found
1 merge request!222Cleaning up env file
...@@ -6,8 +6,6 @@ variables: ...@@ -6,8 +6,6 @@ variables:
DETECTOR_CONFIG: epic_craterlake DETECTOR_CONFIG: epic_craterlake
DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git' DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'
default: default:
before_script: before_script:
- source .local/bin/env.sh - source .local/bin/env.sh
...@@ -71,12 +69,13 @@ common:setup: ...@@ -71,12 +69,13 @@ common:setup:
stage: config stage: config
before_script: before_script:
- | - |
if [[ "${COMMON_BENCH_VERSION}" == "" ]] ; then if [[ -z "${COMMON_BENCH_VERSION}" ]] ; then
export COMMON_BENCH_VERSION="master" export COMMON_BENCH_VERSION="master"
fi fi
echo "COMMON_BENCH_VERSION = ${COMMON_BENCH_VERSION}" 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: 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 - source setup/bin/env.sh && ./setup/bin/install_common.sh
common:detector: common:detector:
......
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