mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:42:07 -04:00
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. Merge branch 'michal/use-default-cloning-depth-for-the-danger-ci-job' into 'main' See merge request isc-projects/bind9!9946
This commit is contained in:
commit
0ba2b5585d
1 changed files with 0 additions and 5 deletions
|
|
@ -615,11 +615,6 @@ shfmt:
|
|||
|
||||
danger:
|
||||
<<: *precheck_job
|
||||
# Keep the GIT_DEPTH environment variable set to a "high number" before
|
||||
# https://github.com/libgit2/libgit2/pull/6662 is addressed and integrated
|
||||
# into pygit2.
|
||||
variables:
|
||||
GIT_DEPTH: 1000
|
||||
needs: []
|
||||
script:
|
||||
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
|
||||
|
|
|
|||
Loading…
Reference in a new issue