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

use /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}

parent f74180c3
Branches
No related tags found
No related merge requests found
Pipeline #53917 failed
......@@ -30,7 +30,7 @@ common:setup:
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
if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "main" ]]; then
echo "DETECTOR = ${DETECTOR}"
echo "DETECTOR_CONFIG = ${DETECTOR_CONFIG}"
echo "DETECTOR_VERSION = ${DETECTOR_VERSION}"
......@@ -81,8 +81,8 @@ common:benchmarks:
stage: initialize
needs: ["common:setup"]
script:
- git clone ${GITHUB_REPOSITORY} ${LOCAL_DATA_PATH}/benchmarks
- git -C ${LOCAL_DATA_PATH}/benchmarks checkout ${GITHUB_REF}
- git clone ${GITHUB_REPOSITORY} /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/benchmarks
- git -C /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/benchmarks checkout ${GITHUB_REF}
benchmarks:running:
stage: running
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment