From: Christian Gmeiner Date: Fri, 7 Oct 2022 11:31:22 +0000 (+0200) Subject: ci: Allow disabling the whole of austriancoder's farm X-Git-Tag: upstream/23.3.3~15847 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff928d9567a5d50d22b7505e4b355e4c5fef6c9e;p=platform%2Fupstream%2Fmesa.git ci: Allow disabling the whole of austriancoder's farm Add a global-level variable that allows disabling all jobs that would have gone to my lab, to be used in case of outages. Signed-off-by: Christian Gmeiner Reviewed-by: David Heidelberg Reviewed-by: Emma Anholt Part-of: --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd0b333..f7c7236 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ variables: IGALIA_FARM: "online" ANHOLT_FARM: "online" VALVE_FARM: "online" + AUSTRIANCODER_FARM: "online" # only etnaviv GPUs default: before_script: diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml index 6859e59..834fe48 100644 --- a/.gitlab-ci/test-source-dep.yml +++ b/.gitlab-ci/test-source-dep.yml @@ -168,6 +168,10 @@ # so only enable automatic testing when running in the context of Mesa to # prevent failures in forks. - if: '$CI_PROJECT_NAMESPACE != "mesa"' + +.austriancoder-farm-rules: + rules: + - if: '$AUSTRIANCODER_FARM == "offline"' when: never # Skips freedreno jobs if either of the farms we use are offline. @@ -626,6 +630,7 @@ .etnaviv-rules: stage: etnaviv rules: + - !reference [.austriancoder-farm-rules, rules] - !reference [.gl-rules, rules] - changes: - src/etnaviv/**/*