summaryrefslogtreecommitdiff
path: root/.gitlab-ci/test-source-dep.yml
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2022-12-14 11:41:08 -0800
committerMarge Bot <emma+marge@anholt.net>2023-01-04 21:18:08 +0000
commit0a11cea652664a8dade8a881341e845f29bed343 (patch)
treec9b254bb14770c9d3a92430022847741388600d4 /.gitlab-ci/test-source-dep.yml
parenta5572583e3cb20204f10599de921eaf0209cfd09 (diff)
downloadmesa-0a11cea652664a8dade8a881341e845f29bed343.tar.gz
ci/zink: Add trace testing on anv TGL.
For now the restricted traces aren't available to the intel devs, so it won't actually run for them, but I can manage that part for a bit until we get the policy updated on the minio side (issue filed to do so). Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20503>
Diffstat (limited to '.gitlab-ci/test-source-dep.yml')
-rw-r--r--.gitlab-ci/test-source-dep.yml26
1 files changed, 22 insertions, 4 deletions
diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml
index ecc0a05ba0d..97eba5abcd8 100644
--- a/.gitlab-ci/test-source-dep.yml
+++ b/.gitlab-ci/test-source-dep.yml
@@ -14,6 +14,20 @@
- if: *is-scheduled-pipeline
when: never
+# Rule for restricted traces jobs to only run for users with access to those
+# traces (both https://gitlab.freedesktop.org/gfx-ci/tracie/traces-db-private
+# for trace access, and minio bucket access for viewing result images from CI).
+#
+# This is a compromise, allowing some marked developers to have their MRs
+# blocked on regressions to non-redistributable traces, while not blocking
+# merges for other devs who would be unable to debug changes to them.
+.restricted-rules:
+ rules:
+ # If the triggerer has access to the restricted traces and if it is pre-merge
+ - if: '($GITLAB_USER_LOGIN !~ "/^(robclark|anholt|flto|cwabbott0|Danil|tomeu|okias|gallo)$/") &&
+ ($GITLAB_USER_LOGIN != "marge-bot" || $CI_COMMIT_BRANCH)'
+ when: never
+
# Mesa core source file dependencies that may impact any test job
# ---------------------------------------------------------------
.core-rules:
@@ -226,10 +240,7 @@
.freedreno-rules-restricted:
stage: freedreno
rules:
- # If the triggerer has access to the restricted traces and if it is pre-merge
- - if: '($GITLAB_USER_LOGIN !~ "/^(robclark|anholt|flto|cwabbott0|Danil|tomeu|okias|gallo)$/") &&
- ($GITLAB_USER_LOGIN != "marge-bot" || $CI_COMMIT_BRANCH)'
- when: never
+ - !reference [.restricted-rules, rules]
- !reference [.freedreno-rules, rules]
# Rules for GL driver performance tracking. We want them to run as code is
@@ -557,6 +568,13 @@
- !reference [.anv-rules, rules]
- !reference [.zink-common-rules, rules]
+.zink-anv-rules-restricted:
+ stage: layered-backends
+ rules:
+ - !reference [.restricted-rules, rules]
+ - !reference [.anv-rules, rules]
+ - !reference [.zink-common-rules, rules]
+
.zink-turnip-rules:
stage: layered-backends
rules: