Mesa (master): ci: Don't create test-docs job if the pages one exists in the pipeline

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Sep 21 15:28:58 UTC 2020


Module: Mesa
Branch: master
Commit: 0836e90418e11371a49f6c1004a8039a44392ea7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0836e90418e11371a49f6c1004a8039a44392ea7

Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Wed Sep  2 18:39:52 2020 +0200

ci: Don't create test-docs job if the pages one exists in the pipeline

It's redundant in that case.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>

---

 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 15eb5c854a1..119d99dfe89 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -100,6 +100,9 @@ test-docs:
   stage: container+docs
   rules:
     - *ignore_scheduled_pipelines
+    - if: *is-main-master
+      changes: *docs-or-ci
+      when: never
     - if: *is-pre-merge-for-marge
       changes: *docs-or-ci
       when: on_success



More information about the mesa-commit mailing list