Mesa (master): ci: Don't exclude "success" job from mesa/mesa pipelines for MRs
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Sep 1 07:41:18 UTC 2020
Module: Mesa
Branch: master
Commit: 0308e639cf7ab30eef15fe5529138675a5e616e8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0308e639cf7ab30eef15fe5529138675a5e616e8
Author: Michel Dänzer <mdaenzer at redhat.com>
Date: Mon Aug 31 18:49:42 2020 +0200
ci: Don't exclude "success" job from mesa/mesa pipelines for MRs
Since the last GitLab update, pre-merge pipelines for MRs run in the
mesa/mesa namespace, so this job didn't get created anymore, causing
trouble.
Reviewed-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6522>
---
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 13a9caecd6a..35593d7909f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -119,7 +119,7 @@ success:
image: debian:stable-slim
rules:
- *ignore_scheduled_pipelines
- - if: '$CI_PROJECT_NAMESPACE == "mesa"'
+ - if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
when: never
- if: '$GITLAB_USER_LOGIN == "marge-bot"'
changes: *docs-or-ci
More information about the mesa-commit
mailing list