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

Author: Helen Koike <[email protected]>
Date:   Fri Dec 22 12:59:30 2023 -0300

ci: fix python-test dependency error on merge requests

Pipeline is unable to run due to the following error:
    'python-test' job needs 'debian/x86_64_build' job, but 
'debian/x86_64_build' is not in any previous stage

python-test job has the following rule:
    - changes:
        - bin/ci/**/*
so add it as well to debian/x86_64_build

Signed-off-by: Helen Koike <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26802>

---

 .gitlab-ci/container/gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci/container/gitlab-ci.yml 
b/.gitlab-ci/container/gitlab-ci.yml
index 55c47d0fef0..02d3464b531 100644
--- a/.gitlab-ci/container/gitlab-ci.yml
+++ b/.gitlab-ci/container/gitlab-ci.yml
@@ -82,6 +82,10 @@ debian/x86_64_build:
     - .use-debian/x86_64_build-base
   variables:
     MESA_IMAGE_TAG: &debian-x86_64_build ${DEBIAN_BUILD_TAG}
+  rules:
+    - !reference [.use-debian/x86_64_build-base, rules]
+    # python-test requires this job
+    - !reference [python-test, rules]
 
 .use-debian/x86_64_build:
   extends:

Reply via email to