ci: move .microsoft-farm-container-rules to test-source-dep.yml
farm rules are placed on test-source-dep.yml, so move it there. This is also useful when trying to re-use the container/gitlab-ci.yml to other workflows without running the jobs. Signed-off-by: Helen Koike <helen.koike@collabora.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23731>
This commit is contained in:
@@ -269,6 +269,16 @@
|
||||
when: on_success
|
||||
|
||||
# Farm rules
|
||||
.microsoft-farm-container-rules:
|
||||
rules:
|
||||
# Allow triggering jobs manually in other cases if any files affecting the
|
||||
# pipeline were changed
|
||||
- exists: [ .ci-farms-disabled/microsoft ]
|
||||
when: never
|
||||
- changes: [ .ci-farms-disabled/microsoft ]
|
||||
when: manual
|
||||
- !reference [.microsoft-farm-rules, rules]
|
||||
|
||||
.microsoft-farm-rules:
|
||||
rules:
|
||||
- exists: [ .ci-farms-disabled/microsoft ] # 1. Is disabled, never run
|
||||
|
Reference in New Issue
Block a user