From ec4ceb4552c2d38c0b04a77348ef572ab0d0986d Mon Sep 17 00:00:00 2001 From: Jakub Date: Fri, 24 Nov 2023 12:32:01 +0100 Subject: [PATCH] feat(GODT-3134): br tag triggers installer --- ci/build.yml | 2 +- ci/rules.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ci/build.yml b/ci/build.yml index 50628571..408eb49e 100644 --- a/ci/build.yml +++ b/ci/build.yml @@ -56,7 +56,7 @@ trigger-qa-installer: stage: build needs: ["lint"] extends: - - .rules-branch-and-MR-manual + - .rules-br-tag-always-branch-and-MR-manual variables: APP: bridge WORKFLOW: build-all diff --git a/ci/rules.yml b/ci/rules.yml index 5cf90bc2..07c2c5bb 100644 --- a/ci/rules.yml +++ b/ci/rules.yml @@ -30,3 +30,16 @@ when: manual allow_failure: true - when: never + +.rules-br-tag-always-branch-and-MR-manual: + rules: + - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH + when: manual + allow_failure: true + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + when: manual + allow_failure: true + - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_TAG =~ /^br-\d+/ + when: always + - when: never +