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

Author: Michel Dänzer <[email protected]>
Date:   Tue Sep  1 11:44:54 2020 +0200

ci: Do not create manual test-docs job in post-merge pipelines

Only in pre-merge pipelines for MRs, or in pipelines for forked project
branches.

Having the manual job in post-merge pipelines prevented the pages job
from running automatically as well, which could prevent the public
website from getting updated.

Acked-by: Daniel Stone <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6534>

---

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1215315dfba..234f8e6524c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,7 +76,8 @@ test-docs:
     - if: '$GITLAB_USER_LOGIN != "marge-bot" && 
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH 
== "mesa/mesa"'
       changes: *docs-or-ci
       when: on_success
-    - changes: *docs-or-ci
+    - if: '$CI_PROJECT_PATH != "mesa/mesa" || 
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
+      changes: *docs-or-ci
       when: manual
     # Other cases default to never
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to