]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix triggering rules for the "publish-cleanup" job 11993/head
authorMichał Kępień <michal@isc.org>
Mon, 11 May 2026 08:07:38 +0000 (10:07 +0200)
committerMichał Kępień (GitLab job 7350680) <michal@isc.org>
Mon, 11 May 2026 08:09:34 +0000 (08:09 +0000)
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.

(cherry picked from commit bb40c3463831d5520faf3b9bec1703df2e836684)

.gitlab-ci.yml

index 86fe0790b7d9054c6b36f6c90ccc53d6d7886af9..7e5133d9158adc770eae1bf394f08da80403c28d 100644 (file)
@@ -318,6 +318,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"'
 
@@ -2121,7 +2124,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