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:
@@ -97,11 +97,15 @@ test-docs:
|
|||||||
success:
|
success:
|
||||||
stage: success
|
stage: success
|
||||||
image: debian:stable-slim
|
image: debian:stable-slim
|
||||||
only:
|
rules:
|
||||||
- merge_requests
|
- if: '$CI_PROJECT_NAMESPACE == "mesa"'
|
||||||
except:
|
when: never
|
||||||
changes:
|
- if: '$GITLAB_USER_LOGIN == "marge-bot"'
|
||||||
*all_paths
|
changes: *docs-or-ci
|
||||||
|
when: never
|
||||||
|
- changes: *all_paths
|
||||||
|
when: never
|
||||||
|
- when: on_success
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
script:
|
script:
|
||||||
|
Reference in New Issue
Block a user