Mesa (main): ci/windows: Add a variable to globally disable jobs using windows runners
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 20 21:01:57 UTC 2022
Module: Mesa
Branch: main
Commit: 14c195a05578aebf6cdfeff8317b1e72add95fcc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14c195a05578aebf6cdfeff8317b1e72add95fcc
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Wed Apr 20 04:21:25 2022 -0700
ci/windows: Add a variable to globally disable jobs using windows runners
Suggested-by: Daniel Stone <daniels at collabora.com>
Acked-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16055>
---
.gitlab-ci.yml | 1 +
.gitlab-ci/test-source-dep.yml | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 65db59562e1..e166eaed432 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,7 @@ variables:
# running on a particular CI farm (ie. for outages, etc):
FD_FARM: "online"
COLLABORA_FARM: "online"
+ MICROSOFT_FARM: "online"
default:
before_script:
diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml
index ed689eaee27..c0d12bab70a 100644
--- a/.gitlab-ci/test-source-dep.yml
+++ b/.gitlab-ci/test-source-dep.yml
@@ -587,6 +587,8 @@
# rules duplication manually
.windows-build-rules:
rules:
+ - if: '$MICROSOFT_FARM == "offline"'
+ when: never
- *ignore_scheduled_pipelines
- changes:
*mesa_core_file_list
@@ -621,6 +623,8 @@
.windows-test-rules:
rules:
+ - if: '$MICROSOFT_FARM == "offline"'
+ when: never
- *ignore_scheduled_pipelines
- changes:
*mesa_core_file_list
More information about the mesa-commit
mailing list