mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 10:14:13 +08:00
gitlab-ci: Do not create the "success" job when the test-docs job exists
It's redundant in that case. v2: * Adapt to v2 of test-docs job rules. Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5469>
This commit is contained in:
parent
8e2cb8ef27
commit
6cba468b5e
@ -97,11 +97,15 @@ test-docs:
|
||||
success:
|
||||
stage: success
|
||||
image: debian:stable-slim
|
||||
only:
|
||||
- merge_requests
|
||||
except:
|
||||
changes:
|
||||
*all_paths
|
||||
rules:
|
||||
- if: '$CI_PROJECT_NAMESPACE == "mesa"'
|
||||
when: never
|
||||
- if: '$GITLAB_USER_LOGIN == "marge-bot"'
|
||||
changes: *docs-or-ci
|
||||
when: never
|
||||
- changes: *all_paths
|
||||
when: never
|
||||
- when: on_success
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user