ci: Do not prefix triggers from stable branches
PATCH 1/1 ci: Do not prefix triggers from stable branches
From: Jan Kiszka <[email protected]>
The branch names already carry the version, plus xenomai-images does not expect a prefix. Will become relevant after creating a stable/v3.4.x branch from this codebase.
Signed-off-by Jan Kiszka <[email protected]>
--- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
.gitlab-ci.yml +8 -4
@@ -268,11 +268,15 @@ i386-userland-y2038-unavailable: trigger-xenomai-images: stage: test - variables: - ONLY_RUN: xenomai-3/${CI_COMMIT_BRANCH} - TRIGGER_SOURCE: xenomai-3/${CI_COMMIT_BRANCH} trigger: project: xenomai/xenomai-images branch: next rules: - - if: '$CI_COMMIT_BRANCH == "next" || $CI_COMMIT_BRANCH =~ /stable\/.*/' + - if: '$CI_COMMIT_BRANCH == "next"' + variables: + ONLY_RUN: xenomai-3/${CI_COMMIT_BRANCH} + TRIGGER_SOURCE: xenomai-3/${CI_COMMIT_BRANCH} + - if: '$CI_COMMIT_BRANCH =~ /stable\/.*/' + variables: + ONLY_RUN: ${CI_COMMIT_BRANCH} + TRIGGER_SOURCE: ${CI_COMMIT_BRANCH}
Signature · 1 line
2.47.3