ci: Use ci-fairy to check for Signed-off-by

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2021-03-26 17:21:07 +01:00
parent 1349d3d15b
commit d224e6ccf3

View file

@ -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