]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.11] chg: ci: Use default cloning depth for the Danger CI job
authorMichał Kępień <michal@isc.org>
Fri, 31 Jan 2025 09:40:33 +0000 (09:40 +0000)
committerMichał Kępień <michal@isc.org>
Fri, 31 Jan 2025 09:40:33 +0000 (09:40 +0000)
commitdfb7b9b346a274a44b6c46e68e01b73f59622812
tree3750a6ef6dcf33b84714a520cb1ac32f101ae4e9
parentddef4aa7f01ef632138c5e5dc74dc550c65ce34d
parent819bc583f19e652ec5241e90d0fa0d1b390c24ca
[9.11] chg: ci: Use default cloning depth for the Danger CI job

With shallow fetching working reliably in pygit2 1.17.0+, there is no
longer any need for GitLab CI runners to clone the BIND 9 repository
with a fixed depth of 1000 during every "danger" CI job as Hazard is now
able to fetch remote refs with an arbitrary depth, controlled by the
HAZARD_FETCH_DEPTH environment variable.  The latter can be defined via
GitLab project's CI settings and adjusted as needed over time, without
the need to update .gitlab-ci.yml every time its value needs to be
changed.

Backport of MR !9946

Merge branch 'backport-michal/use-default-cloning-depth-for-the-danger-ci-job-9.11' into 'bind-9.11'

See merge request isc-projects/bind9!10040