]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Create release announcement MR
authorAndoni Duarte Pintado <andoni@isc.org>
Mon, 29 Sep 2025 15:21:13 +0000 (17:21 +0200)
committerAndoni Duarte Pintado <andoni@isc.org>
Wed, 1 Oct 2025 13:27:57 +0000 (15:27 +0200)
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.

.gitlab-ci.yml

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