Skip to content
Snippets Groups Projects
Commit 67b88f09 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Change dependencies of downstream trigger.

parent 09ad1641
No related branches found
No related tags found
1 merge request!171Change dependencies of downstream trigger.
...@@ -30,8 +30,8 @@ default: ...@@ -30,8 +30,8 @@ default:
stages: stages:
- config - config
- initialize
- build - build
- test
- docs - docs
- test - test
- collect - collect
...@@ -59,8 +59,9 @@ common:setup: ...@@ -59,8 +59,9 @@ common:setup:
- source setup/bin/env.sh && ./setup/bin/install_common.sh - source setup/bin/env.sh && ./setup/bin/install_common.sh
common:detector: common:detector:
stage: initialize stage: build
needs: ["common:setup"] needs:
- common:setup
script: script:
- source .local/bin/env.sh && build_detector.sh - source .local/bin/env.sh && build_detector.sh
- mkdir_local_data_link sim_output - mkdir_local_data_link sim_output
...@@ -70,10 +71,8 @@ common:detector: ...@@ -70,10 +71,8 @@ common:detector:
- mkdir -p geo - mkdir -p geo
- print_env.sh - print_env.sh
compile: build:simple:
stage: build stage: build
needs:
- ["common:detector"]
script: script:
- mkdir -p build && cd build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 && make install && cd .. - mkdir -p build && cd build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 && make install && cd ..
- echo "Build successful." - echo "Build successful."
...@@ -239,26 +238,6 @@ benchmarks:detector: ...@@ -239,26 +238,6 @@ benchmarks:detector:
trigger: trigger:
project: EIC/benchmarks/detector_benchmarks project: EIC/benchmarks/detector_benchmarks
strategy: depend strategy: depend
needs: ["overlap_check_tgeo","report"] needs:
- overlap_check_tgeo
#benchmarks:reconstruction: - common:detector
# stage: deploy
# variables:
# JUGGLER_DETECTOR: "$JUGGLER_DETECTOR"
# JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION"
# trigger:
# project: EIC/benchmarks/reconstruction_benchmarks
# strategy: depend
# needs: ["env","overlap_check_tgeo","overlap_check_geant4","report"]
#
#
#benchmarks:physics:
# stage: deploy
# variables:
# JUGGLER_DETECTOR: "$JUGGLER_DETECTOR"
# JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION"
# trigger:
# project: EIC/benchmarks/physics_benchmarks
# strategy: depend
# needs: ["env","overlap_check_tgeo","overlap_check_geant4","report"]
...@@ -16,7 +16,7 @@ dawn_view_01:ev002: ...@@ -16,7 +16,7 @@ dawn_view_01:ev002:
- ./bin/make_dawn_views -t view01_ev002 -d scripts/view1 -s 2 - ./bin/make_dawn_views -t view01_ev002 -d scripts/view1 -s 2
view_01: view_01:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -34,12 +34,10 @@ dawn_view_11:ev004: ...@@ -34,12 +34,10 @@ dawn_view_11:ev004:
- ./bin/make_dawn_views -t view11 -d scripts/view11 -s 4 - ./bin/make_dawn_views -t view11 -d scripts/view11 -s 4
view_11: view_11:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
- job: compile
optional: false
- job: dawn_view_11:detector - job: dawn_view_11:detector
optional: false optional: false
- job: dawn_view_11:ev001 - job: dawn_view_11:ev001
......
...@@ -4,7 +4,7 @@ dawn_view_12:detector: ...@@ -4,7 +4,7 @@ dawn_view_12:detector:
- ./bin/make_dawn_views -t view12 -d scripts/view12 -D - ./bin/make_dawn_views -t view12 -d scripts/view12 -D
view_12: view_12:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -4,7 +4,7 @@ dawn_view_13:detector: ...@@ -4,7 +4,7 @@ dawn_view_13:detector:
- ./bin/make_dawn_views -t view13 -d scripts/view13 -D - ./bin/make_dawn_views -t view13 -d scripts/view13 -D
view_13: view_13:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -4,7 +4,7 @@ dawn_view_14:detector: ...@@ -4,7 +4,7 @@ dawn_view_14:detector:
- ./bin/make_dawn_views -t view14 -d scripts/view14 -D - ./bin/make_dawn_views -t view14 -d scripts/view14 -D
view_14: view_14:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -4,7 +4,7 @@ dawn_view_15:detector: ...@@ -4,7 +4,7 @@ dawn_view_15:detector:
- ./bin/make_dawn_views -t view15 -d scripts/view15 -D - ./bin/make_dawn_views -t view15 -d scripts/view15 -D
view_15: view_15:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -22,7 +22,7 @@ dawn_view_02:ev003: ...@@ -22,7 +22,7 @@ dawn_view_02:ev003:
- ./bin/make_dawn_views -t view02_ev003 -d scripts/view2 -s 3 - ./bin/make_dawn_views -t view02_ev003 -d scripts/view2 -s 3
view_02: view_02:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -19,7 +19,7 @@ dawn_view_20:ev002: ...@@ -19,7 +19,7 @@ dawn_view_20:ev002:
- ./bin/make_dawn_views -t view20_ev002 -d scripts/view20 -s 2 - ./bin/make_dawn_views -t view20_ev002 -d scripts/view20 -s 2
view_20: view_20:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -14,7 +14,7 @@ dawn_view_03:ev002: ...@@ -14,7 +14,7 @@ dawn_view_03:ev002:
- ./bin/make_dawn_views -t view02_ev002 -d scripts/view3 -s 2 - ./bin/make_dawn_views -t view02_ev002 -d scripts/view3 -s 2
view_03: view_03:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -28,7 +28,7 @@ dawn_view_06:ev004: ...@@ -28,7 +28,7 @@ dawn_view_06:ev004:
- ./bin/make_dawn_views -t view06_ev004 -d scripts/view6 -s 4 - ./bin/make_dawn_views -t view06_ev004 -d scripts/view6 -s 4
view_06: view_06:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
...@@ -16,7 +16,7 @@ dawn_view_07:ev003: ...@@ -16,7 +16,7 @@ dawn_view_07:ev003:
- ./bin/make_dawn_views -t view07_ev003 -d scripts/view7 -s 3 - ./bin/make_dawn_views -t view07_ev003 -d scripts/view7 -s 3
view_07: view_07:
stage: test stage: collect
rules: rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs: needs:
......
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