]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add reuse lint CI job
authorOndřej Surý <ondrej@isc.org>
Thu, 3 Jun 2021 08:58:56 +0000 (10:58 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 10 Jan 2022 20:16:28 +0000 (21:16 +0100)
Instead of checking for the licenses in the misc step, add a separate
job that uses the upstream provided image that has reuse tool installed
and run `reuse lint` from the separate job.

.gitlab-ci.yml

index 3958fb164204a6b33e3e501a17db95dd8c6a352d..6ebad9ab7342ae6df1af9412918ac67cd9dfef21 100644 (file)
@@ -452,6 +452,15 @@ coccinelle:
     - util/check-cocci
     - if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi
 
+reuse:
+  <<: *precheck_job
+  needs: []
+  image:
+    name: docker.io/fsfe/reuse:latest
+    entrypoint: [""]
+  script:
+    - reuse lint
+
 danger:
   <<: *precheck_job
   needs: []