summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAdriel Santiago <asantiago@gitlab.com>2019-03-08 01:24:28 +0000
committerClement Ho <clemmakesapps@gmail.com>2019-03-08 01:24:28 +0000
commit6b4beea226044f57af5f70c0ae901e0832851541 (patch)
tree49c2e9e03653ea63c1104559e9a9a80b56e28d74 /.gitlab-ci.yml
parent2e790057cf664a9a1e3909931b71c71e67d74e0a (diff)
downloadgitlab-ce-6b4beea226044f57af5f70c0ae901e0832851541.tar.gz
Allow skip trigger for gitlab:ui:visual
By adding [skip visual] to the commit message the gitlab:ui:visual test can be skipped. This is needed to avoid deadlock situations as exhibited in https://gitlab.com/gitlab-org/gitlab-ui/issues/198
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0cc95ff8436..994dbb6a3ef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -703,6 +703,9 @@ gitlab:ui:visual:
- app/assets/stylesheets/*.scss
- app/assets/stylesheets/**/*.scss
- app/assets/stylesheets/**/**/*.scss
+ except:
+ variables:
+ - $CI_COMMIT_MESSAGE =~ /\[skip visual\]/i
artifacts:
paths:
- tests/__image_snapshots__/