summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2018-03-06 19:07:10 +0100
committerVarac <varac@leap.se>2018-03-06 19:12:44 +0100
commitbefd33132ff277e98bf2ce4ae172e8cb97bd53f7 (patch)
treedea58e8acfe080a0d926ad58fb4bc0284a8d818c
parent8312bad7aa46476c466798e2024be69320cb1f4e (diff)
Only run CD for known LEAP devs
-rw-r--r--.gitlab-ci.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4c972a0..0a6e14f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,7 +33,13 @@ review:
url: http://$PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
on_stop: stop-review
only:
- - branches
+ - branches@leap/leap_se
+ - branches@varac/leap_se
+ - branches@kwadronaut/leap_se
+ - branches@micah/leap_se
+ - branches@elijah/leap_se
+ - branches@meskio/leap_se
+ - branches@drebs/leap_se
except:
- master
@@ -50,7 +56,13 @@ stop-review:
name: review/$CI_COMMIT_REF_NAME
action: stop
only:
- - branches
+ - branches@leap/leap_se
+ - branches@kwadronaut/leap_se
+ - branches@varac/leap_se
+ - branches@micah/leap_se
+ - branches@elijah/leap_se
+ - branches@meskio/leap_se
+ - branches@drebs/leap_se
except:
- master
@@ -60,7 +72,7 @@ production:
environment:
name: production
only:
- - master
+ - master@leap/leap_se
before_script:
# install ssh-agent
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'