diff options
author | Adriel Santiago <asantiago@gitlab.com> | 2019-03-08 04:24:28 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2019-03-08 04:24:28 +0300 |
commit | 6b4beea226044f57af5f70c0ae901e0832851541 (patch) | |
tree | 49c2e9e03653ea63c1104559e9a9a80b56e28d74 | |
parent | 2e790057cf664a9a1e3909931b71c71e67d74e0a (diff) |
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
-rw-r--r-- | .gitlab-ci.yml | 3 |
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__/ |