new: ci: Merge tag back to its base branch in tag pipeline

Add a CI job to merge tags back to the respective base branch in tag pipelines.

Merge branch 'andoni/add-merge-tag-to-tag-pipeline' into 'main'

See merge request isc-projects/bind9!11001
This commit is contained in:
Andoni Duarte 2025-09-29 12:02:10 +00:00
commit 024216a4d2

View 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