]> 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 10:51:12 +0000 (10:51 +0000)
Merging a tag to its base branch will now be a manual job in its tag
pipeline.

.gitlab-ci.yml

index 5efb13d5980c42ec68819de8c1eccbc577ed0198..49b83f81fb0d3544a77a59614af8258d6c9e797b 100644 (file)
@@ -1680,6 +1680,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