Mesa (master): gitlab-ci: Rename "paths" YAML anchor to "all_paths"
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 7 18:00:13 UTC 2020
Module: Mesa
Branch: master
Commit: c12576efbec152d7a5fa9f94daf80fa8aaca4850
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c12576efbec152d7a5fa9f94daf80fa8aaca4850
Author: Michel Dänzer <mdaenzer at redhat.com>
Date: Fri Apr 3 11:17:48 2020 +0200
gitlab-ci: Rename "paths" YAML anchor to "all_paths"
To avoid confusion with `paths:` elements.
Reviewed-by: Adam Jackson <ajax at redhat.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4432>
---
.gitlab-ci.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 371c2560b78..8623731960b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ stages:
rules:
# Run pipeline by default for merge requests changing files affecting it
- if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
- changes: &paths
+ changes: &all_paths
- VERSION
- bin/**/*
# GitLab CI
@@ -49,7 +49,7 @@ stages:
# changed
- if: '$CI_PROJECT_PATH == "mesa/mesa"'
changes:
- *paths
+ *all_paths
when: on_success
# Allow triggering jobs manually on branches of forked projects
- if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
@@ -70,7 +70,7 @@ success:
- merge_requests
except:
changes:
- *paths
+ *all_paths
variables:
GIT_STRATEGY: none
script:
More information about the mesa-commit
mailing list