]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Increase GIT_DEPTH for the "assign-milestones" job
authorMichał Kępień <michal@isc.org>
Mon, 11 May 2026 14:07:47 +0000 (16:07 +0200)
committerMichał Kępień (GitLab job 7356450) <michal@isc.org>
Mon, 11 May 2026 14:24:05 +0000 (14:24 +0000)
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

index 7e5133d9158adc770eae1bf394f08da80403c28d..12e23162b0ace836fe16d40e1839060d2596b450 100644 (file)
@@ -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