]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove redundant "GIT_DEPTH: 1" assignments 11997/head
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)
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

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