diff options
author | Steve Azzopardi <steveazz@outlook.com> | 2019-03-08 10:55:46 +0100 |
---|---|---|
committer | Steve Azzopardi <steveazz@outlook.com> | 2019-03-08 10:55:46 +0100 |
commit | bf0f182788f5bb4e2adb46c9af97c7e238b7a9b8 (patch) | |
tree | 3bbc03939d3704a2a909f3473e59bf24e1d41622 | |
parent | b4852ab49a385f3cc900cf0f2584097b8a154ac0 (diff) | |
download | gitlab-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.yml | 2 |
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: |