diff options
author | Eric Engestrom <eric@igalia.com> | 2023-09-04 12:40:18 +0100 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2023-09-05 14:04:52 -0400 |
commit | 7cf13ea504e7e5be097e5f444843715d56c347b9 (patch) | |
tree | ffa597e12b53a27e7178439ffbf1e3cc9fad1b8f /.gitlab-ci | |
parent | 83cb5c34911b68b100eb24c471fc2e9157c388a2 (diff) | |
download | mesa-7cf13ea504e7e5be097e5f444843715d56c347b9.tar.gz mesa-7cf13ea504e7e5be097e5f444843715d56c347b9.tar.bz2 mesa-7cf13ea504e7e5be097e5f444843715d56c347b9.zip |
ci: skip containers & build jobs when disabling a farm
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25032>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/farm-rules.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.gitlab-ci/farm-rules.yml b/.gitlab-ci/farm-rules.yml index 4b31dbfe3f9..0f7cfae0eb9 100644 --- a/.gitlab-ci/farm-rules.yml +++ b/.gitlab-ci/farm-rules.yml @@ -239,3 +239,39 @@ when: never - !reference [.freedreno-farm-rules, rules] + +# Skip container & build jobs when disabling any farm, and run them if any farm +# gets re-enabled. +.re-enable-farm-rules: + rules: + # changes(disabled) + exists(disabled) = disabling the farm + - changes: [ .ci-farms-disabled/microsoft ] + exists: [ .ci-farms-disabled/microsoft ] + when: never + - changes: [ .ci-farms-disabled/collabora ] + exists: [ .ci-farms-disabled/collabora ] + when: never + - changes: [ .ci-farms-disabled/igalia ] + exists: [ .ci-farms-disabled/igalia ] + when: never + - changes: [ .ci-farms-disabled/lima ] + exists: [ .ci-farms-disabled/lima ] + when: never + - changes: [ .ci-farms-disabled/anholt ] + exists: [ .ci-farms-disabled/anholt ] + when: never + - changes: [ .ci-farms-disabled/valve-mupuf ] + exists: [ .ci-farms-disabled/valve-mupuf ] + when: never + - changes: [ .ci-farms-disabled/valve-kws ] + exists: [ .ci-farms-disabled/valve-kws ] + when: never + - changes: [ .ci-farms-disabled/austriancoder ] + exists: [ .ci-farms-disabled/austriancoder ] + when: never + - changes: [ .ci-farms-disabled/freedreno ] + exists: [ .ci-farms-disabled/freedreno ] + when: never + # Any other change to ci-farms-disabled/* means some farm is getting re-enabled + - changes: [ .ci-farms-disabled/* ] + when: on_success |