]> 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>
Fri, 16 Feb 2024 10:08:32 +0000 (11:08 +0100)
Hazard is a minimal danger-python replacement.

(cherry picked from commit 08ce1bc45fbe00db5ac5ec77335b38c8ce7d1990)

.gitlab-ci.yml

index 24bee8a5c139d75c7e2a67a55b044996d675f884..83832d5be999cd728478ee7ce98b0988647f1cb2 100644 (file)
@@ -453,9 +453,15 @@ coccinelle:
 
 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:
-    - danger-python ci -f
+    - pip install git+https://gitlab.isc.org/isc-projects/hazard.git
+    - hazard
   only:
     refs:
       - merge_requests