Skip to content

Commit

Permalink
.gitlab-ci.yml: don't build detector (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Sep 24, 2024
1 parent fda7e5b commit 58f4b0a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
13 changes: 3 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''

Expand Down Expand Up @@ -89,21 +88,14 @@ 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
- print_env.sh

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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion benchmarks/insert_muon/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sim:insert_muon:
stage: simulate
extends: .det_benchmark
needs: ["common:detector"]
parallel:
matrix:
- P: 50
Expand Down
1 change: 0 additions & 1 deletion benchmarks/zdc_photon/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sim:zdc_photon:
stage: simulate
extends: .det_benchmark
needs: ["common:detector"]
parallel:
matrix:
- P: 20
Expand Down
1 change: 0 additions & 1 deletion benchmarks/zdc_pi0/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sim:zdc_pi0:
stage: simulate
extends: .det_benchmark
needs: ["common:detector"]
parallel:
matrix:
- P: 60
Expand Down

0 comments on commit 58f4b0a

Please sign in to comment.