From 0cf92d7ad1014f5000cdbce812124ff9f7e23fc7 Mon Sep 17 00:00:00 2001 From: Jonas Ådahl Date: Fri, 26 Mar 2021 15:54:42 +0100 Subject: ci: Use ci-fairy to check for Signed-off-by MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Ådahl --- .gitlab-ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45f7388..936e8f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,15 @@ +.templates_sha: &template_sha 290b79e0e78eab67a83766f4e9691be554fc4afd include: - project: 'freedesktop/ci-templates' - ref: 59de540b620c45739871d1a073d76d5521989d11 + ref: *template_sha file: '/templates/debian.yml' + - project: 'freedesktop/ci-templates' + ref: *template_sha + file: '/templates/ci-fairy.yml' stages: + - review - containers-build - test @@ -15,6 +20,18 @@ stages: FDO_DISTRIBUTION_PACKAGES: 'build-essential automake autoconf libtool pkg-config libwayland-dev meson' FDO_DISTRIBUTION_TAG: '2021-03-24.0' +check-commit: + extends: + - .fdo.ci-fairy + stage: review + script: + - ci-fairy check-commits --signed-off-by --junit-xml=results.xml + variables: + GIT_DEPTH: 100 + artifacts: + reports: + junit: results.xml + container_build: extends: - .debian -- cgit v1.2.3