From bac4a577597fe3c8d38a86c1317472edca39fc5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Mon, 11 May 2026 16:07:47 +0200 Subject: [PATCH 1/2] Increase GIT_DEPTH for the "assign-milestones" job Cloning tags with the default GIT_DEPTH of 1 prevents the milestone assignment script from identifying any merge requests that are included in a given release. Fix by increasing GIT_DEPTH to an arbitrary value that is high enough for practical purposes. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdd71eb601..9637a4bfb2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2051,6 +2051,8 @@ assign-milestones: needs: - job: sign artifacts: false + variables: + GIT_DEPTH: 1000 script: - | "${CI_PROJECT_DIR}"/bind9-qa/releng/assign_mrs_to_versioned_milestones.py --version "${CI_COMMIT_TAG}" --metadata "${CI_PROJECT_DIR}"/bind9-qa/releng/metadata.json From 703ad9a6ded2edf68105cac4181a848496341dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Mon, 11 May 2026 16:07:47 +0200 Subject: [PATCH 2/2] Remove redundant "GIT_DEPTH: 1" assignments The GIT_DEPTH CI variable defaults to 1 for all jobs through the top-level "variables" key. Explicitly setting it to 1 in job definitions is unnecessary and may cause confusion. Remove these redundant assignments. --- .gitlab-ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9637a4bfb2..afaffcb647 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2148,8 +2148,6 @@ rpms-copr: # autodetected ones. .printing_press_job: &printing_press_job <<: *manual_release_job_qa - variables: - GIT_DEPTH: 1 script: - > "$CI_PROJECT_DIR"/bind9-qa/releng/printing_press_mr.py --document "${DOCUMENT}" --metadata "$CI_PROJECT_DIR"/bind9-qa/releng/metadata.json ${FORCE_CVE_IDS:+--force-cve-ids ${FORCE_CVE_IDS}} ${FORCE_SECURITY_RELEASES:+--force-security-releases ${FORCE_SECURITY_RELEASES}} @@ -2265,8 +2263,6 @@ merge-tag: update-stable-tag: <<: *manual_release_job_qa - variables: - GIT_DEPTH: 1 needs: # TODO: if necessary, update job name after pushing tags from within CI is implemented - job: publish