Skip to content
Snippets Groups Projects
Commit 4f7fb0cd authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

.gitlab-ci.yml: don't build detector

parent 1205c1b5
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ variables: ...@@ -4,7 +4,6 @@ variables:
RECO: "eicrecon" RECO: "eicrecon"
DETECTOR: epic DETECTOR: epic
DETECTOR_CONFIG: epic_craterlake DETECTOR_CONFIG: epic_craterlake
DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'
workflow: workflow:
name: '$PIPELINE_NAME' name: '$PIPELINE_NAME'
...@@ -34,7 +33,6 @@ default: ...@@ -34,7 +33,6 @@ default:
stages: stages:
- status-pending - status-pending
- config - config
- initialize
- compile - compile
- generate - generate
- simulate - simulate
...@@ -80,12 +78,6 @@ common:setup: ...@@ -80,12 +78,6 @@ common:setup:
script: script:
- git clone -b "${COMMON_BENCH_VERSION}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup - git clone -b "${COMMON_BENCH_VERSION}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup
- 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_local_data_link datasets - mkdir_local_data_link datasets
- mkdir -p results - mkdir -p results
...@@ -100,9 +92,10 @@ common:detector: ...@@ -100,9 +92,10 @@ common:detector:
.phy_benchmark: .phy_benchmark:
needs: needs:
- ["common:detector"] - ["common:setup"]
before_script: before_script:
- 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
......
...@@ -9,7 +9,7 @@ backgrounds:synchrotron:simulate: ...@@ -9,7 +9,7 @@ backgrounds:synchrotron:simulate:
extends: .phy_benchmark extends: .phy_benchmark
tags: tags:
- s3 - s3
needs: ["common:detector", "backgrounds:compile"] needs: ["backgrounds:compile"]
script: script:
- bash benchmarks/backgrounds/synchrotron.sh --all - bash benchmarks/backgrounds/synchrotron.sh --all
......
...@@ -7,7 +7,7 @@ dis:compile: ...@@ -7,7 +7,7 @@ dis:compile:
dis:simulate: dis:simulate:
stage: simulate stage: simulate
extends: .phy_benchmark extends: .phy_benchmark
needs: ["common:detector", "dis:compile"] needs: ["dis:compile"]
parallel: parallel:
matrix: matrix:
- EBEAM: 5 - EBEAM: 5
......
...@@ -9,7 +9,7 @@ dvcs:simulate: ...@@ -9,7 +9,7 @@ dvcs:simulate:
extends: .phy_benchmark extends: .phy_benchmark
tags: tags:
- phy - phy
needs: ["common:detector", "dvcs:compile"] needs: ["dvcs:compile"]
script: script:
#- bash benchmarks/dvcs/dvcs.sh --all #- bash benchmarks/dvcs/dvcs.sh --all
- bash benchmarks/dvcs/dvcs.sh --data-init --sim --rec - bash benchmarks/dvcs/dvcs.sh --data-init --sim --rec
......
...@@ -5,7 +5,7 @@ dvmp:compile: ...@@ -5,7 +5,7 @@ dvmp:compile:
- compile_analyses.py dvmp - compile_analyses.py dvmp
dvmp:generate: dvmp:generate:
needs: ["common:detector", "dvmp:compile"] needs: ["dvmp:compile"]
image: eicweb.phy.anl.gov:4567/monte_carlo/lager/lager:unstable image: eicweb.phy.anl.gov:4567/monte_carlo/lager/lager:unstable
extends: .phy_benchmark extends: .phy_benchmark
stage: generate stage: generate
......
...@@ -9,7 +9,7 @@ tcs:simulate: ...@@ -9,7 +9,7 @@ tcs:simulate:
extends: .phy_benchmark extends: .phy_benchmark
tags: tags:
- phy - phy
needs: ["common:detector", "tcs:compile"] needs: ["tcs:compile"]
parallel: parallel:
matrix: matrix:
- EBEAM: 5 - EBEAM: 5
......
...@@ -9,7 +9,7 @@ u_omega:simulate: ...@@ -9,7 +9,7 @@ u_omega:simulate:
extends: .phy_benchmark extends: .phy_benchmark
tags: tags:
- phy - phy
needs: ["common:detector", "u_omega:compile"] needs: ["u_omega:compile"]
script: script:
#- bash benchmarks/u_omega/u_omega.sh --all #- bash benchmarks/u_omega/u_omega.sh --all
- bash benchmarks/u_omega/u_omega.sh --data-init --sim --rec - bash benchmarks/u_omega/u_omega.sh --data-init --sim --rec
......
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