From 05cf0b28b0fa5e82e2b9f25599c670f58a260b38 Mon Sep 17 00:00:00 2001 From: Andoni Duarte Pintado Date: Mon, 29 Sep 2025 17:21:13 +0200 Subject: [PATCH] Create release announcement MR In the 'release' stage, create an MR automatically with the corresponding release announcement. The input for this is taken from metadata.json in bind9-qa. (cherry picked from commit 0f75741341c1d2a8f63a143366c1330b20d3993b) --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 976424518e..0b25c64b4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1802,6 +1802,26 @@ sign: when: manual allow_failure: false +# Job creating the release announcement MR in Printing Press + +prepare-release-announcement: + <<: *base_image + stage: release + when: manual + variables: + GIT_DEPTH: 1 + before_script: + - git clone --depth 1 https://gitlab.isc.org/isc-projects/bind9-qa.git + script: + - bind9-qa/releng/prepare_release_announcement.py --metadata bind9-qa/releng/metadata.json + needs: [] + rules: + - if: '$CI_COMMIT_TAG != null && $CI_COMMIT_TAG !~ /-S/' + artifacts: + paths: + - printing-press/ + when: on_failure + # Job merging the tag back into its base branch merge-tag: