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
This commit is contained in:
Adriel Santiago 2019-03-08 01:24:28 +00:00 committed by Clement Ho
parent 2e790057cf
commit 6b4beea226

View file

@ -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__/