diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index efc2a62946..8fe9d7f579 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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