]> 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ń <michal@isc.org>
Mon, 11 May 2026 14:07:47 +0000 (16:07 +0200)
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

index bdd71eb601de4995c3d506552abf972c572dd559..9637a4bfb259baedae16ec2f197d73c8a7213418 100644 (file)
@@ -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