From 384d12816459996fbac5722e9fdb29527662cafb Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 19 Mar 2026 09:45:22 +0100 Subject: [PATCH] ci: fix scheduled pipelines Fixes: 32a818d11d3d60ebbc23 ("ci: drop workaround for jobs not being created in fork pipelines") Part-of: --- .gitlab-ci/farm-rules.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci/farm-rules.yml b/.gitlab-ci/farm-rules.yml index 1624e883dbc..761aff2c3d0 100644 --- a/.gitlab-ci/farm-rules.yml +++ b/.gitlab-ci/farm-rules.yml @@ -336,6 +336,8 @@ # Skip container & build jobs when disabling any farm, and run them if any # farm gets re-enabled. +# Just like above, don't apply these rules in scheduled pipelines (see comment +# on line 23). .disable-farm-rules: rules: # changes(disabled) + exists(disabled) = disabling the farm @@ -345,42 +347,55 @@ # a farm re-enable pipeline will be detected as a farm disable pipeline. - changes: [ .ci-farms-disabled/microsoft ] exists: [ .ci-farms-disabled/microsoft ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/collabora ] exists: [ .ci-farms-disabled/collabora ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/igalia ] exists: [ .ci-farms-disabled/igalia ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/lima ] exists: [ .ci-farms-disabled/lima ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/anholt ] exists: [ .ci-farms-disabled/anholt ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/valve-mupuf ] exists: [ .ci-farms-disabled/valve-mupuf ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/valve-kws ] exists: [ .ci-farms-disabled/valve-kws ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/austriancoder ] exists: [ .ci-farms-disabled/austriancoder ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/ondracka ] exists: [ .ci-farms-disabled/ondracka ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/vmware ] exists: [ .ci-farms-disabled/vmware ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/pengutronix ] exists: [ .ci-farms-disabled/pengutronix ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/lumag ] exists: [ .ci-farms-disabled/lumag ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never - changes: [ .ci-farms-disabled/imagination ] exists: [ .ci-farms-disabled/imagination ] + if: '$CI_PIPELINE_SOURCE != "schedule"' when: never # 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)