]> 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:11 +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 16e8d2bb44b04fcc03fec25ca3d75f3e86879741..494a68d47b0d86659a78b32ca809fea13ff4d544 100644 (file)
@@ -1959,6 +1959,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