]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Merge tag back to its base branch in tag pipeline
authorAndoni Duarte Pintado <andoni@isc.org>
Tue, 23 Sep 2025 09:20:46 +0000 (11:20 +0200)
committerAndoni Duarte <andoni@isc.org>
Mon, 29 Sep 2025 12:02:43 +0000 (12:02 +0000)
Merging a tag to its base branch will now be a manual job in its tag
pipeline.

(cherry picked from commit 22bc6a70639be16e5d2ee8b1adcce87b157d220d)

.gitlab-ci.yml

index efc2a629464be1176ac8d101c62242de97b73747..8fe9d7f57914ad6ee04bf146bee1a7692fac895b 100644 (file)
@@ -1632,6 +1632,26 @@ sign:
   when: manual
   allow_failure: false
 
+# Job merging the tag back into its base branch
+
+merge-tag:
+  <<: *base_image
+  stage: release
+  when: manual
+  variables:
+    GIT_DEPTH: 100
+  before_script:
+    - git clone --depth 1 https://gitlab.isc.org/isc-projects/bind9-qa.git
+  script:
+    - bind9-qa/releng/merge_tag.py --tag "$CI_COMMIT_TAG"
+  needs: []
+  rules:
+    - if: '$CI_COMMIT_TAG != null && $CI_COMMIT_TAG !~ /-S/'
+  artifacts:
+    paths:
+      - bind9/
+    when: on_failure
+
 .customer-git: &customer_git
   <<: *base_image
   stage: release