mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 12:13:20 -04:00
[9.18] fix: ci: Fix triggering rules for the "publish-cleanup" job
The "publish-cleanup" tag pipeline job is currently created for all security releases, including BIND -S releases, but it depends on the "publish" job, which is only created for open source releases. This breaks CI configuration for BIND -S tags, preventing pipelines from getting created for such tags altogether. Fix by only creating the "publish-cleanup" job in tag pipelines for open source security releases. Backport of MR !11992 Merge branch 'backport-michal/fix-triggering-rules-for-the-publish-cleanup-job-9.18' into 'bind-9.18' See merge request isc-projects/bind9!11994
This commit is contained in:
commit
bb4ce23873
1 changed files with 4 additions and 1 deletions
|
|
@ -289,6 +289,9 @@ stages:
|
|||
.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"'
|
||||
|
||||
.rule_tag_open_source_security: &rule_tag_open_source_security
|
||||
- if: '$CI_PROJECT_NAMESPACE == "isc-private" && $CI_COMMIT_TAG != null && $CI_COMMIT_TAG !~ /-S/ && $RELEASE_TYPE == "security"'
|
||||
|
||||
.rule_tag_security: &rule_tag_security
|
||||
- if: '$CI_PROJECT_NAMESPACE == "isc-private" && $CI_COMMIT_TAG != null && $RELEASE_TYPE == "security"'
|
||||
|
||||
|
|
@ -1936,7 +1939,7 @@ publish-cleanup:
|
|||
tags:
|
||||
- smalljob
|
||||
rules:
|
||||
- *rule_tag_security
|
||||
- *rule_tag_open_source_security
|
||||
|
||||
.manual_release_job_qa: &manual_release_job_qa
|
||||
<<: *manual_release_job
|
||||
|
|
|
|||
Loading…
Reference in a new issue