]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Replace danger-python with Hazard
authorMichal Nowak <mnowak@isc.org>
Tue, 5 Dec 2023 10:55:03 +0000 (11:55 +0100)
committerMichal Nowak <mnowak@isc.org>
Mon, 11 Dec 2023 16:52:11 +0000 (17:52 +0100)
Hazard is a minimal danger-python replacement.

(cherry picked from commit 08ce1bc45fbe00db5ac5ec77335b38c8ce7d1990)

.gitlab-ci.yml

index a2653f5aea45011f201aeca03e4d8a61d3bc795e..c39e19a0135b582758f355569a80ecfb547fe10f 100644 (file)
@@ -515,8 +515,14 @@ 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
   script:
-    - danger-python ci -f
+    - pip install git+https://gitlab.isc.org/isc-projects/hazard.git
+    - hazard
   only:
     refs:
       - merge_requests