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

.gitlab-ci.yml

index 9637a4bfb259baedae16ec2f197d73c8a7213418..afaffcb647c0c2de5b766195bb0e583967e512c9 100644 (file)
@@ -2148,8 +2148,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}}
@@ -2265,8 +2263,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