summaryrefslogtreecommitdiff
path: root/.gitlab-ci/test-source-dep.yml
diff options
context:
space:
mode:
authorMartin Roukala (né Peres) <martin.roukala@mupuf.org>2022-11-22 16:41:26 +0200
committerMarge Bot <emma+marge@anholt.net>2022-11-24 06:54:44 +0000
commit128a19caf1112e8ecb3199855cd8b7cf57718e29 (patch)
tree3d0ddf7d6c1eba72c88b354b90f1c282baa99f0f /.gitlab-ci/test-source-dep.yml
parent3bf7791e93b328b6b8ff1245f0766a10a81390db (diff)
downloadmesa-128a19caf1112e8ecb3199855cd8b7cf57718e29.tar.gz
radv/ci: run test automatically only for the mesa namespace
The Valve CI Farm uses allow lists for projects/users to prevent abuse, so only enable automatic testing when running in the context of Mesa to prevent failures in forks. Suggested-by: Emma Anholt <emma@anholt.net> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19930>
Diffstat (limited to '.gitlab-ci/test-source-dep.yml')
-rw-r--r--.gitlab-ci/test-source-dep.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml
index 733e9059d62..22546fd230e 100644
--- a/.gitlab-ci/test-source-dep.yml
+++ b/.gitlab-ci/test-source-dep.yml
@@ -164,6 +164,11 @@
rules:
- if: '$VALVE_FARM == "offline"'
when: never
+ # The Valve CI Farm uses allow lists for projects/users to prevent abuse,
+ # so only enable automatic testing when running in the context of Mesa to
+ # prevent failures in forks.
+ - if: '$CI_PROJECT_NAMESPACE != "mesa"'
+ when: manual
# Skips freedreno jobs if either of the farms we use are offline.
.freedreno-farm-rules: