From 58f4b0a0b2e078581ba296969c2523b3b7f7a396 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 24 Sep 2024 06:17:28 -0400 Subject: [PATCH] .gitlab-ci.yml: don't build detector (#69) --- .gitlab-ci.yml | 13 +++---------- benchmarks/insert_muon/config.yml | 1 - benchmarks/zdc_photon/config.yml | 1 - benchmarks/zdc_pi0/config.yml | 1 - 4 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb5b57e..a1dc5d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,6 @@ image: ${BENCHMARKS_REGISTRY}/${BENCHMARKS_CONTAINER}:${BENCHMARKS_TAG} variables: DETECTOR: epic DETECTOR_CONFIG: epic_craterlake - DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git' GITHUB_SHA: '' GITHUB_REPOSITORY: '' @@ -89,13 +88,6 @@ common:setup: echo "BENCHMARKS_CONTAINER: ${BENCHMARKS_CONTAINER}" echo "BENCHMARKS_REGISTRY: ${BENCHMARKS_REGISTRY}" - 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 @@ -103,7 +95,7 @@ common:detector: get_data: stage: data_init - needs: ["common:detector"] + needs: ["common:setup"] script: - source .local/bin/env.sh - ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output @@ -112,10 +104,11 @@ get_data: .det_benchmark: needs: - - ["get_data","common:detector"] + - ["get_data","common:setup"] before_script: - mc config host add S3 https://eics3.sdcc.bnl.gov:9000 ${S3_ACCESS_KEY} ${S3_SECRET_KEY} - source .local/bin/env.sh + - source /opt/detector/epic-main/setup.sh - ls -lrtha - ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output - ln -s "${LOCAL_DATA_PATH}/datasets/data" data diff --git a/benchmarks/insert_muon/config.yml b/benchmarks/insert_muon/config.yml index bf69f55..6f7681f 100644 --- a/benchmarks/insert_muon/config.yml +++ b/benchmarks/insert_muon/config.yml @@ -1,7 +1,6 @@ sim:insert_muon: stage: simulate extends: .det_benchmark - needs: ["common:detector"] parallel: matrix: - P: 50 diff --git a/benchmarks/zdc_photon/config.yml b/benchmarks/zdc_photon/config.yml index c8e8bdb..946650a 100644 --- a/benchmarks/zdc_photon/config.yml +++ b/benchmarks/zdc_photon/config.yml @@ -1,7 +1,6 @@ sim:zdc_photon: stage: simulate extends: .det_benchmark - needs: ["common:detector"] parallel: matrix: - P: 20 diff --git a/benchmarks/zdc_pi0/config.yml b/benchmarks/zdc_pi0/config.yml index 4059d23..a2fcb5d 100644 --- a/benchmarks/zdc_pi0/config.yml +++ b/benchmarks/zdc_pi0/config.yml @@ -1,7 +1,6 @@ sim:zdc_pi0: stage: simulate extends: .det_benchmark - needs: ["common:detector"] parallel: matrix: - P: 60