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

back to phy-scratch

parent 60e1742a
No related branches found
No related tags found
No related merge requests found
Pipeline #53920 failed
Pipeline: detector_benchmarks_runner

#53921

    ...@@ -6,7 +6,7 @@ variables: ...@@ -6,7 +6,7 @@ variables:
    default: default:
    tags: tags:
    - phy - phy-scratch
    artifacts: artifacts:
    expire_in: 72 hours expire_in: 72 hours
    paths: paths:
    ...@@ -23,11 +23,7 @@ common:setup: ...@@ -23,11 +23,7 @@ common:setup:
    stage: config stage: config
    before_script: before_script:
    - | - |
    if [[ "${COMMON_BENCH_VERSION}" == "" ]] ; then git clone -b "${COMMON_BENCH_VERSION:-master}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup
    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
    script: script:
    - | - |
    if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "main" ]]; then if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "main" ]]; then
    ...@@ -67,26 +63,16 @@ common:setup: ...@@ -67,26 +63,16 @@ common:setup:
    fi fi
    - source setup/bin/env.sh && ./setup/bin/install_common.sh - source setup/bin/env.sh && ./setup/bin/install_common.sh
    common:detector:
    stage: initialize
    needs: ["common:setup"]
    script:
    - source .local/bin/env.sh && build_detector.sh
    - mkdir_local_data_link sim_output
    - mkdir -p results
    - mkdir -p config
    - print_env.sh
    common:benchmarks: common:benchmarks:
    stage: initialize stage: initialize
    needs: ["common:setup"] needs: ["common:setup"]
    script: script:
    - git clone ${GITHUB_REPOSITORY} /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/benchmarks - git clone ${GITHUB_REPOSITORY} benchmarks
    - git -C /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/benchmarks checkout ${GITHUB_REF} - git -C benchmarks checkout ${GITHUB_REF}
    benchmarks:running: benchmarks:running:
    stage: running stage: running
    needs: ["common:benchmarks"] needs: ["common:benchmarks"]
    trigger: trigger:
    include: include:
    - local: '/scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/benchmarks/config.yml' - local: 'benchmarks/config.yml'
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment