Mesa (staging/20.1): TEST COMMIT, please disregard as it will be removed in a few minutes :)
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 1 11:58:35 UTC 2020
Module: Mesa
Branch: staging/20.1
Commit: d6998fc5fbab9bc969f6a98dd9e160b13ecfb31c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6998fc5fbab9bc969f6a98dd9e160b13ecfb31c
Author: Michel Dänzer <mdaenzer at redhat.com>
Date: Mon Jun 29 11:33:13 2020 +0200
TEST COMMIT, please disregard as it will be removed in a few minutes :)
---
.gitlab-ci.yml | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0585a76075c..fc017c908b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,20 +104,27 @@ success:
extends:
- .ci-run-policy
rules:
+ # Run pipeline by default in the main project if any CI pipeline
+ # configuration files were changed, to ensure docker images are up to date
+ - if: '$CI_PROJECT_PATH == "mesa/mesa"'
+ changes:
+ - .gitlab-ci.yml
+ - .gitlab-ci/**/*
+ when: on_success
# Run pipeline by default if it was triggered by Marge Bot, is for a
- # merge request, and any files affecting it were changed
- - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
+ # merge request, and any files affecting the pipeline were changed
+ - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_PROJECT_PATH != "mesa/mesa"'
changes:
*all_paths
when: on_success
- # Run pipeline by default in the main project if any files affecting it were
- # changed
- - if: '$CI_PROJECT_PATH == "mesa/mesa"'
+ # Run pipeline by default in the main project if it was not triggered by
+ # Marge Bot, and any files affecting the pipeline were changed
+ - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_PROJECT_PATH == "mesa/mesa"'
changes:
*all_paths
when: on_success
- # Allow triggering jobs manually for MRs or branches of forked projects if
- # any files affecting the pipeline were changed
+ # Allow triggering jobs manually in other cases if any files affecting the
+ # pipeline were changed
- changes:
*all_paths
when: manual
More information about the mesa-commit
mailing list