Module: Mesa
Branch: main
Commit: 1b18ca83facfeaa17fb271a61a0aaf133e595de1
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b18ca83facfeaa17fb271a61a0aaf133e595de1

Author: Eric Engestrom <e...@igalia.com>
Date:   Thu Nov  9 11:23:44 2023 +0000

amd/ci: avoid re-running all the test jobs when changing the expectations for 
only one of them

Previously, any change to any job would trigger every job.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26127>

---

 .gitlab-ci/deqp-runner.sh    | 4 ++++
 src/amd/ci/gitlab-ci-inc.yml | 7 ++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index 1b133dcb59e..5b90b1ff5a3 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -183,6 +183,10 @@ if [ -z "$DEQP_SUITE" ]; then
         -- \
         $DEQP_OPTIONS
 else
+    # If you change the format of the suite toml filenames or the
+    # $GPU_VERSION-{fails,flakes,skips}.txt filenames, look through the rest
+    # of the tree for other places that need to be kept in sync (e.g.
+    # src/amd/ci/gitlab-ci-inc.yml)
     deqp-runner \
         suite \
         --suite $INSTALL/deqp-$DEQP_SUITE.toml \
diff --git a/src/amd/ci/gitlab-ci-inc.yml b/src/amd/ci/gitlab-ci-inc.yml
index ed4127b2dd2..a1b028b88c9 100644
--- a/src/amd/ci/gitlab-ci-inc.yml
+++ b/src/amd/ci/gitlab-ci-inc.yml
@@ -9,7 +9,12 @@
       - src/gallium/winsys/amdgpu/**/*
       - src/amd/*
       - src/amd/addrlib/**/*
-      - src/amd/ci/*
+      - src/amd/ci/gitlab-ci.yml
+      - src/amd/ci/gitlab-ci-inc.yml
+      - src/amd/ci/deqp-$DEQP_SUITE.toml
+      - src/amd/ci/$GPU_VERSION-fails.txt
+      - src/amd/ci/$GPU_VERSION-flakes.txt
+      - src/amd/ci/$GPU_VERSION-skips.txt
       - src/amd/common/**/*
       - src/amd/llvm/**/*
       - src/amd/registers/**/*

Reply via email to