From 90dc3ceb481b12e3afb8f368125cda17fa15c08b Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Tue, 1 Oct 2024 10:04:56 +0000
Subject: [PATCH] .gitlab-ci.yml: trigger {reconstruction, physics}_benchmarks

---
 .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8739991..fdf6901 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -82,6 +82,38 @@ detector_benchmarks:
         DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'
         COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION"
 
+reconstruction_benchmarks:
+  stage: benchmarks
+  rules:
+    - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' 
+  needs: ["common:variables"]
+  trigger:
+    project: EIC/benchmarks/reconstruction_benchmarks
+    strategy: depend
+  parallel:
+    matrix:
+      - DETECTOR: 'epic'
+        DETECTOR_CONFIG: ['epic_craterlake']
+        DETECTOR_VERSION: 'main'
+        DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'
+        COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION"
+
+physics_benchmarks:
+  stage: benchmarks
+  rules:
+    - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' 
+  needs: ["common:variables"]
+  trigger:
+    project: EIC/benchmarks/physics_benchmarks
+    strategy: depend
+  parallel:
+    matrix:
+      - DETECTOR: 'epic'
+        DETECTOR_CONFIG: ['epic_craterlake']
+        DETECTOR_VERSION: 'main'
+        DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'
+        COMMON_BENCH_VERSION: "$COMMON_BENCH_VERSION"
+
 
 other_detector_benchmarks:
   stage: benchmarks
-- 
GitLab