fix(GODT-3135): fix br tag pipeline rules.

This commit is contained in:
Jakub 2023-11-27 16:29:18 +01:00 committed by Jakub Cuth
parent f7434109be
commit 6d7c21b2c9
2 changed files with 14 additions and 1 deletions

View File

@ -18,6 +18,19 @@
allow_failure: true
- when: never
.rules-branch-manual-br-tag-and-MR-and-devel-always:
rules:
- if: $CI_COMMIT_BRANCH == "devel" || $CI_PIPELINE_SOURCE == "merge_request_event"
when: always
allow_failure: false
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_TAG =~ /^br-\d+/
when: always
allow_failure: false
- if: $CI_COMMIT_BRANCH
when: manual
allow_failure: true
- when: never
.rules-branch-manual-scheduled-and-test-branch-always:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"

View File

@ -4,7 +4,7 @@
lint:
stage: test
extends:
- .rules-branch-manual-MR-and-devel-always
- .rules-branch-manual-br-tag-and-MR-and-devel-always
script:
- make lint
tags: