summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2017-04-19 11:40:00 -0700
committerDJ Mountney <david@twkie.net>2017-04-19 11:40:00 -0700
commitcc07d0f289b9346a3849bc8ecc0f2cf93ecea79c (patch)
tree8aad331ee98cdce680f327543ce92fe320fe8524
parentc57e66bebb930b1a7be539a809f7f5a8188e9870 (diff)
downloadgitlab-ce-cc07d0f289b9346a3849bc8ecc0f2cf93ecea79c.tar.gz
Don't run the downtime check on stable branches, or tags/masterno-downtime-check-stable
The way the check currently works, it runs on the diff between your branch and the latest commit in gitlab on master. This doesn't give a good representation of the changes migrations for stable branches, tags, and master itself.
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e57362bd3a5..f188ee29223 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -201,7 +201,13 @@ rake config_lint: *exec
rake brakeman: *exec
rake flay: *exec
license_finder: *exec
-rake downtime_check: *exec
+rake downtime_check:
+ <<: *exec
+ except:
+ - master
+ - tags
+ - /^[\d-]+-stable(-ee)?$/
+
rake ee_compat_check:
<<: *exec
only: