From d224e6ccf38a4970f10713b0dab63e6747162698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 26 Mar 2021 17:21:07 +0100 Subject: [PATCH] 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 | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2b07437..a0e2ee53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -.templates_sha: &template_sha bd8010dd0123d3f0dda4ef691078566af2842613 # see https://docs.gitlab.com/ee/ci/yaml/#includefile +.templates_sha: &template_sha 290b79e0e78eab67a83766f4e9691be554fc4afd # see https://docs.gitlab.com/ee/ci/yaml/#includefile include: @@ -6,9 +6,14 @@ include: - project: 'freedesktop/ci-templates' ref: *template_sha file: '/templates/debian.yml' + # ci-fairy template + - project: 'freedesktop/ci-templates' + ref: *template_sha + file: '/templates/ci-fairy.yml' stages: + - review - prep - build @@ -32,6 +37,19 @@ variables: FDO_DISTRIBUTION_EXEC: $DEBIAN_EXEC +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 + + debian:buster@container-prep: extends: - .debian.buster