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