Exclude qa and docs from Rails 4 builds

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54059
This commit is contained in:
Stan Hu 2018-11-14 13:05:19 -08:00
parent 5b1b093403
commit 44e8a00b95
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ stages:
allow_failure: false
except:
variables:
- $CI_COMMIT_REF_NAME =~ /(^docs[\/-].*|.*-docs$)/
- $CI_COMMIT_REF_NAME =~ /(^qa[\/-].*|.*-qa$)/
- $CI_COMMIT_REF_NAME =~ /norails4/
- $RAILS5_DISABLED
variables: