From 41406e28dcd0beb76763fadf833af5b838a7ca2b Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Tue, 11 Nov 2025 21:52:56 +0200 Subject: [PATCH] ci: describe my small lab A small installation with several iMX53 devices, managed by CI-Tron. Signed-off-by: Dmitry Baryshkov Part-of: --- .gitlab-ci/farm-rules.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.gitlab-ci/farm-rules.yml b/.gitlab-ci/farm-rules.yml index 2fcc198476d..339baf0468b 100644 --- a/.gitlab-ci/farm-rules.yml +++ b/.gitlab-ci/farm-rules.yml @@ -36,6 +36,7 @@ # collabora | lava | @daniels, @sergi # igalia | baremetal/poe-powered, ci-tron | @jasuarez, @chema # lima | lava | @enunes +# lumag | ci-tron | @lumag # microsoft | custom | @jenatali, @alatiera # ondracka | ci-tron | @ondracka # pengutronix | lava | @hnez, @lynxeye @@ -292,6 +293,27 @@ - !reference [.pengutronix-farm-rules, rules] +.lumag-farm-rules: + rules: + - exists: [ .ci-farms-disabled/lumag ] + when: never + - changes: [ .ci-farms-disabled/lumag ] + if: '$CI_PIPELINE_SOURCE != "schedule"' + when: on_success + - changes: [ .ci-farms-disabled/* ] + if: '$CI_PIPELINE_SOURCE != "schedule"' + when: never + +.lumag-farm-manual-rules: + rules: + - exists: [ .ci-farms-disabled/lumag ] + when: never + - changes: [ .ci-farms-disabled/lumag ] + if: '$CI_PIPELINE_SOURCE != "schedule"' + when: never + - !reference [.lumag-farm-rules, rules] + + # Skip container & build jobs when disabling any farm, and run them if any # farm gets re-enabled. # Only apply these rules in MR context, because otherwise we get a false @@ -348,6 +370,10 @@ changes: [ .ci-farms-disabled/pengutronix ] exists: [ .ci-farms-disabled/pengutronix ] when: never + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + changes: [ .ci-farms-disabled/lumag ] + exists: [ .ci-farms-disabled/lumag ] + 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) - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $GITLAB_USER_LOGIN == "marge-bot"'