From da182d162e48cb40d5457ffb8bbc2b8342348fcb Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sjoosten@anl.gov>
Date: Wed, 19 May 2021 02:59:18 +0000
Subject: [PATCH] Add geo dump to artifacts

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0c4c03e..413f2179 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,7 @@ default:
       - images
       - doc
       - juggler.env
+      - detector_geo.root
     reports:
       dotenv: juggler.env
 
@@ -93,6 +94,16 @@ include:
   - local: 'views/view14.yml'
   - local: 'views/view15.yml'
 
+dump_geometry:
+  stage: test
+  needs:
+    - common:detector
+  script:
+   - echo "dumping geometry"
+   - mkdir -p images
+   - dd_web_display --output detector_geo.root ${DETECTOR_PATH}/reference_detector.xml
+
+
 report:
   stage: finalize
   needs: 
-- 
GitLab