Skip to content
Snippets Groups Projects
Unverified Commit 58f4b0a0 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

.gitlab-ci.yml: don't build detector (#69)

parent fda7e5be
No related branches found
No related tags found
No related merge requests found
Pipeline #103499 canceled
...@@ -3,7 +3,6 @@ image: ${BENCHMARKS_REGISTRY}/${BENCHMARKS_CONTAINER}:${BENCHMARKS_TAG} ...@@ -3,7 +3,6 @@ image: ${BENCHMARKS_REGISTRY}/${BENCHMARKS_CONTAINER}:${BENCHMARKS_TAG}
variables: variables:
DETECTOR: epic DETECTOR: epic
DETECTOR_CONFIG: epic_craterlake DETECTOR_CONFIG: epic_craterlake
DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'
GITHUB_SHA: '' GITHUB_SHA: ''
GITHUB_REPOSITORY: '' GITHUB_REPOSITORY: ''
...@@ -89,13 +88,6 @@ common:setup: ...@@ -89,13 +88,6 @@ common:setup:
echo "BENCHMARKS_CONTAINER: ${BENCHMARKS_CONTAINER}" echo "BENCHMARKS_CONTAINER: ${BENCHMARKS_CONTAINER}"
echo "BENCHMARKS_REGISTRY: ${BENCHMARKS_REGISTRY}" echo "BENCHMARKS_REGISTRY: ${BENCHMARKS_REGISTRY}"
- 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_local_data_link sim_output
- mkdir -p results - mkdir -p results
- mkdir -p config - mkdir -p config
...@@ -103,7 +95,7 @@ common:detector: ...@@ -103,7 +95,7 @@ common:detector:
get_data: get_data:
stage: data_init stage: data_init
needs: ["common:detector"] needs: ["common:setup"]
script: script:
- source .local/bin/env.sh - source .local/bin/env.sh
- ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output - ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output
...@@ -112,10 +104,11 @@ get_data: ...@@ -112,10 +104,11 @@ get_data:
.det_benchmark: .det_benchmark:
needs: needs:
- ["get_data","common:detector"] - ["get_data","common:setup"]
before_script: before_script:
- mc config host add S3 https://eics3.sdcc.bnl.gov:9000 ${S3_ACCESS_KEY} ${S3_SECRET_KEY} - mc config host add S3 https://eics3.sdcc.bnl.gov:9000 ${S3_ACCESS_KEY} ${S3_SECRET_KEY}
- source .local/bin/env.sh - source .local/bin/env.sh
- source /opt/detector/epic-main/setup.sh
- ls -lrtha - ls -lrtha
- ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output - ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output
- ln -s "${LOCAL_DATA_PATH}/datasets/data" data - ln -s "${LOCAL_DATA_PATH}/datasets/data" data
......
sim:insert_muon: sim:insert_muon:
stage: simulate stage: simulate
extends: .det_benchmark extends: .det_benchmark
needs: ["common:detector"]
parallel: parallel:
matrix: matrix:
- P: 50 - P: 50
......
sim:zdc_photon: sim:zdc_photon:
stage: simulate stage: simulate
extends: .det_benchmark extends: .det_benchmark
needs: ["common:detector"]
parallel: parallel:
matrix: matrix:
- P: 20 - P: 20
......
sim:zdc_pi0: sim:zdc_pi0:
stage: simulate stage: simulate
extends: .det_benchmark extends: .det_benchmark
needs: ["common:detector"]
parallel: parallel:
matrix: matrix:
- P: 60 - P: 60
......
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