]> 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:22:03 +0000 (17:22 +0100)
Hazard is a minimal danger-python replacement.

.gitlab-ci.yml

index 66a2156cfa2dfb4ab779b9e72775557ce280e7e2..1cb1a3a9c96f4c30e01b17a754f8c8b368084275 100644 (file)
@@ -608,9 +608,15 @@ 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:
-    - danger-python ci -f
+    - pip install git+https://gitlab.isc.org/isc-projects/hazard.git
+    - hazard
   only:
     refs:
       - merge_requests