ci: fix scheduled pipelines

Fixes: 32a818d11d ("ci: drop workaround for jobs not being created in fork pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40505>
This commit is contained in:
Eric Engestrom 2026-03-19 09:45:22 +01:00 committed by Marge Bot
parent d38916d673
commit 384d128164

View file

@ -336,6 +336,8 @@
# Skip container & build jobs when disabling any farm, and run them if any # Skip container & build jobs when disabling any farm, and run them if any
# farm gets re-enabled. # farm gets re-enabled.
# Just like above, don't apply these rules in scheduled pipelines (see comment
# on line 23).
.disable-farm-rules: .disable-farm-rules:
rules: rules:
# changes(disabled) + exists(disabled) = disabling the farm # changes(disabled) + exists(disabled) = disabling the farm
@ -345,42 +347,55 @@
# a farm re-enable pipeline will be detected as a farm disable pipeline. # a farm re-enable pipeline will be detected as a farm disable pipeline.
- changes: [ .ci-farms-disabled/microsoft ] - changes: [ .ci-farms-disabled/microsoft ]
exists: [ .ci-farms-disabled/microsoft ] exists: [ .ci-farms-disabled/microsoft ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/collabora ] - changes: [ .ci-farms-disabled/collabora ]
exists: [ .ci-farms-disabled/collabora ] exists: [ .ci-farms-disabled/collabora ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/igalia ] - changes: [ .ci-farms-disabled/igalia ]
exists: [ .ci-farms-disabled/igalia ] exists: [ .ci-farms-disabled/igalia ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/lima ] - changes: [ .ci-farms-disabled/lima ]
exists: [ .ci-farms-disabled/lima ] exists: [ .ci-farms-disabled/lima ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/anholt ] - changes: [ .ci-farms-disabled/anholt ]
exists: [ .ci-farms-disabled/anholt ] exists: [ .ci-farms-disabled/anholt ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/valve-mupuf ] - changes: [ .ci-farms-disabled/valve-mupuf ]
exists: [ .ci-farms-disabled/valve-mupuf ] exists: [ .ci-farms-disabled/valve-mupuf ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/valve-kws ] - changes: [ .ci-farms-disabled/valve-kws ]
exists: [ .ci-farms-disabled/valve-kws ] exists: [ .ci-farms-disabled/valve-kws ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/austriancoder ] - changes: [ .ci-farms-disabled/austriancoder ]
exists: [ .ci-farms-disabled/austriancoder ] exists: [ .ci-farms-disabled/austriancoder ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/ondracka ] - changes: [ .ci-farms-disabled/ondracka ]
exists: [ .ci-farms-disabled/ondracka ] exists: [ .ci-farms-disabled/ondracka ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/vmware ] - changes: [ .ci-farms-disabled/vmware ]
exists: [ .ci-farms-disabled/vmware ] exists: [ .ci-farms-disabled/vmware ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/pengutronix ] - changes: [ .ci-farms-disabled/pengutronix ]
exists: [ .ci-farms-disabled/pengutronix ] exists: [ .ci-farms-disabled/pengutronix ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/lumag ] - changes: [ .ci-farms-disabled/lumag ]
exists: [ .ci-farms-disabled/lumag ] exists: [ .ci-farms-disabled/lumag ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
- changes: [ .ci-farms-disabled/imagination ] - changes: [ .ci-farms-disabled/imagination ]
exists: [ .ci-farms-disabled/imagination ] exists: [ .ci-farms-disabled/imagination ]
if: '$CI_PIPELINE_SOURCE != "schedule"'
when: never when: never
# Any other change to ci-farms/* means some farm is getting re-enabled. # Any other change to ci-farms/* means some farm is getting re-enabled.
# Run jobs in Marge pipelines (and let it fallback to manual otherwise) # Run jobs in Marge pipelines (and let it fallback to manual otherwise)