From dd3e6fe1e62984fed0feb8d8e052b582f5adb72a Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Sat, 24 Jul 2021 21:59:16 -0500
Subject: [PATCH] Tweaking ci rules for eicweb/phy server 	modified:  
 .gitlab-ci.yml

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b28b803..5dae060 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,13 @@
 image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+
+workflow:
+  rules:
+    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+    - if: '$CI_PIPELINE_SOURCE == "web"'
+    - if: '$CI_PIPELINE_SOURCE == "webide"'
+    - if: '$CI_COMMIT_BRANCH == "master"'
+    - if: '$CI_COMMIT_TAG'
+
 default:
   before_script:
     - ls -lrth && pwd
@@ -27,8 +36,8 @@ stages:
 
 common:variables:
   stage: config0
-  #rules:
-  #  - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' 
+  rules:
+    - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"' 
   script:
     - |
       echo "   CI_PIPELINE_SOURCE = ${CI_PIPELINE_SOURCE}"
-- 
GitLab