summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Azzopardi <steveazz@outlook.com>2019-03-08 10:55:46 +0100
committerSteve Azzopardi <steveazz@outlook.com>2019-03-08 10:55:46 +0100
commitbf0f182788f5bb4e2adb46c9af97c7e238b7a9b8 (patch)
tree3bbc03939d3704a2a909f3473e59bf24e1d41622
parentb4852ab49a385f3cc900cf0f2584097b8a154ac0 (diff)
downloadgitlab-ce-fix-gitlab-ui-visual-job.tar.gz
Fix `gitlab:ui:visual` to not run for docsfix-gitlab-ui-visual-job
The ` gitlab:ui:visual` is using the anchor `*except-docs` to not run the job when it's a docs change, but since we are redefining `expect` in the job this is overrided, which results into the job running anyways when it's a docs change. For example https://gitlab.com/gitlab-org/gitlab-ce/pipelines/50890096
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 26087b2cc4d..7e6847fa209 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -684,7 +684,6 @@ gitlab:assets:compile:
- gitlab-org
gitlab:ui:visual:
- <<: *except-docs
tags:
- gitlab-org
before_script: []
@@ -706,6 +705,7 @@ gitlab:ui:visual:
except:
refs:
- master
+ - /(^docs[\/-].*|.*-docs$)
variables:
- $CI_COMMIT_MESSAGE =~ /\[skip visual\]/i
artifacts: