]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use default cloning depth for the Danger CI job
authorMichał Kępień <michal@isc.org>
Fri, 31 Jan 2025 09:25:56 +0000 (10:25 +0100)
committerMichał Kępień <michal@isc.org>
Fri, 31 Jan 2025 09:30:42 +0000 (09:30 +0000)
commit3cb6c224f2748db4e36e4e952264d3b474c03c1b
tree78d36eaa8eaceab56268b7f576e9b717a886c083
parent3244f7848fd78c536dd4d8add1fca49a073c366e
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.

(cherry picked from commit e39e7afc16fe1575afb907be76e55942925e1a3d)
.gitlab-ci.yml