[go: up one dir, main page]

Skip to content

Commit

Permalink
Change dependencies of downstream trigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
sly2j committed Aug 14, 2021
1 parent 09ad164 commit 67b88f0
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 42 deletions.
37 changes: 8 additions & 29 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ default:

stages:
- config
- initialize
- build
- test
- docs
- test
- collect
Expand Down Expand Up @@ -59,8 +59,9 @@ common:setup:
- source setup/bin/env.sh && ./setup/bin/install_common.sh

common:detector:
stage: initialize
needs: ["common:setup"]
stage: build
needs:
- common:setup
script:
- source .local/bin/env.sh && build_detector.sh
- mkdir_local_data_link sim_output
Expand All @@ -70,10 +71,8 @@ common:detector:
- mkdir -p geo
- print_env.sh

compile:
build:simple:
stage: build
needs:
- ["common:detector"]
script:
- mkdir -p build && cd build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j20 && make install && cd ..
- echo "Build successful."
Expand Down Expand Up @@ -239,26 +238,6 @@ benchmarks:detector:
trigger:
project: EIC/benchmarks/detector_benchmarks
strategy: depend
needs: ["overlap_check_tgeo","report"]

#benchmarks:reconstruction:
# 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"]

needs:
- overlap_check_tgeo
- common:detector
2 changes: 1 addition & 1 deletion views/view1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dawn_view_01:ev002:
- ./bin/make_dawn_views -t view01_ev002 -d scripts/view1 -s 2

view_01:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
4 changes: 1 addition & 3 deletions views/view11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ dawn_view_11:ev004:
- ./bin/make_dawn_views -t view11 -d scripts/view11 -s 4

view_11:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
- job: compile
optional: false
- job: dawn_view_11:detector
optional: false
- job: dawn_view_11:ev001
Expand Down
2 changes: 1 addition & 1 deletion views/view12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dawn_view_12:detector:
- ./bin/make_dawn_views -t view12 -d scripts/view12 -D

view_12:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dawn_view_13:detector:
- ./bin/make_dawn_views -t view13 -d scripts/view13 -D

view_13:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dawn_view_14:detector:
- ./bin/make_dawn_views -t view14 -d scripts/view14 -D

view_14:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dawn_view_15:detector:
- ./bin/make_dawn_views -t view15 -d scripts/view15 -D

view_15:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dawn_view_02:ev003:
- ./bin/make_dawn_views -t view02_ev003 -d scripts/view2 -s 3

view_02:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dawn_view_20:ev002:
- ./bin/make_dawn_views -t view20_ev002 -d scripts/view20 -s 2

view_20:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dawn_view_03:ev002:
- ./bin/make_dawn_views -t view02_ev002 -d scripts/view3 -s 2

view_03:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dawn_view_06:ev004:
- ./bin/make_dawn_views -t view06_ev004 -d scripts/view6 -s 4

view_06:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down
2 changes: 1 addition & 1 deletion views/view7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dawn_view_07:ev003:
- ./bin/make_dawn_views -t view07_ev003 -d scripts/view7 -s 3

view_07:
stage: test
stage: collect
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
Expand Down

0 comments on commit 67b88f0

Please sign in to comment.