From 9f6ccabd73f2021fb9d89687bea55fe5c3e6095c Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Thu, 13 May 2021 01:07:08 +0000
Subject: [PATCH] Triggering detector benchmarks

---
 .gitlab-ci.yml | 22 ++++++++++++----------
 README.md      |  4 ++++
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c08d7bad..c0c4c03e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -132,19 +132,21 @@ detector:config_testing:
   needs: 
     - ["common:detector"]
   script:
-    - checkOverlaps -c ${DETECTOR_PATH}/reference_detector.xml  | tee doc/overlap_check.out | wc -l
+    - checkOverlaps -o 's' -c ${DETECTOR_PATH}/reference_detector.xml  | tee doc/overlap_check.out | wc -l
     - cat doc/overlap_check.out
+
+benchmarks:detector:
+  stage: deploy
+  variables:
+    JUGGLER_DETECTOR: "$JUGGLER_DETECTOR"
+    JUGGLER_DETECTOR_VERSION: "$JUGGLER_DETECTOR_VERSION"
+  trigger:
+    project: EIC/benchmarks/detector_benchmarks
+    strategy: depend
+  needs: ["overlap_check","report"]
   allow_failure: true
 
-    #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","report"]
+
     #benchmarks:reconstruction:
     #  stage: deploy
     #  variables:
diff --git a/README.md b/README.md
index 6593cdf1..515237df 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,10 @@ The reference detector at IP6 for Electron-Ion Collider experiment.
 <img src="https://eicweb.phy.anl.gov/api/v4/projects/447/jobs/artifacts/master/raw/images/view01_top.png?job=report" width="400px" />
 </a>
 
+[Browse latest](https://eicweb.phy.anl.gov/EIC/detectors/reference_detector/-/jobs/artifacts/master/browse/images?job=report)
+
+[Detector views](views/detector_views.md)
+
 
 Getting Started
 ---------------
-- 
GitLab