From 8b9ef944fe5c834fd1347519533bd927e5eb5d3e 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. (cherry picked from commit bac4a577597fe3c8d38a86c1317472edca39fc5d) --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e5133d915..12e23162b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2144,6 +2144,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 1eb6c5e1cf9bb073144b4660db1084c10579f0b6 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. (cherry picked from commit 703ad9a6ded2edf68105cac4181a848496341dcb) --- .gitlab-ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12e23162b0..92096abf2a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2241,8 +2241,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}} @@ -2358,8 +2356,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