From: Ondřej Surý Date: Thu, 3 Jun 2021 08:58:56 +0000 (+0200) Subject: Add reuse lint CI job X-Git-Tag: v9.17.22~3^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbcff56043e6fbda4471a398466ae81d974ab28a;p=thirdparty%2Fbind9.git Add reuse lint CI job 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. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3958fb16420..6ebad9ab734 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: []