mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.20] chg: ci: Add rule for stable tags in CI and use it in the update-stable-tag job
Add a rule to match open source stable tags in CI and apply it to the update-stable-tag job. Backport of MR !11646 Merge branch 'backport-andoni/show-update-stable-tag-job-in-stable-versions-9.20' into 'bind-9.20' See merge request isc-projects/bind9!12107
This commit is contained in:
commit
f2a5c580ef
1 changed files with 8 additions and 1 deletions
|
|
@ -112,6 +112,10 @@ workflow:
|
|||
auto_cancel:
|
||||
on_new_commit: interruptible
|
||||
|
||||
include:
|
||||
- project: 'isc-projects/bind9-qa'
|
||||
file: '/.gitlab-ci-common.yml'
|
||||
|
||||
stages:
|
||||
- autoconf
|
||||
- quick-checks
|
||||
|
|
@ -326,6 +330,9 @@ stages:
|
|||
.rule_tag_open_source: &rule_tag_open_source
|
||||
- if: '$CI_PROJECT_NAMESPACE == "isc-private" && $CI_COMMIT_TAG != null && $CI_COMMIT_TAG !~ /-S/'
|
||||
|
||||
.rule_tag_open_source_stable: &rule_tag_open_source_stable
|
||||
- if: '$CI_PROJECT_NAMESPACE == "isc-private" && $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $STABLE_VERSION_REGEX'
|
||||
|
||||
.rule_tag_open_source_maintenance: &rule_tag_open_source_maintenance
|
||||
- if: '$CI_PROJECT_NAMESPACE == "isc-private" && $CI_COMMIT_TAG != null && $CI_COMMIT_TAG !~ /-S/ && $RELEASE_TYPE != "security"'
|
||||
|
||||
|
|
@ -2459,7 +2466,7 @@ update-stable-tag:
|
|||
- >
|
||||
"$CI_PROJECT_DIR"/bind9-qa/releng/update_stable_tag.py --tag "$CI_COMMIT_TAG"
|
||||
rules:
|
||||
- *rule_tag_open_source
|
||||
- *rule_tag_open_source_stable
|
||||
artifacts:
|
||||
paths:
|
||||
- bind9/
|
||||
|
|
|
|||
Loading…
Reference in a new issue