gitlab: add a CI job to validate the DCO sign off
commit34ed46a2845df4305aa35c22ea517b4241faae06
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Sep 2020 13:29:02 +0000 (18 14:29 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 13 Oct 2020 10:48:17 +0000 (13 12:48 +0200)
treef0b272d9c3e954ff6ccb5e83e59ba33055bce785
parent1f47547256b72fecd9ebf629a8e48cd20282a758
gitlab: add a CI job to validate the DCO sign off

While checkpatch.pl can validate DCO sign off that job must always be
advisory only since it is expected that certain patches will fail some
code style rules.

We require the DCO sign off to be mandatory for all commits though, so
it benefits from being validated in a standalone job.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200918132903.1848939-3-berrange@redhat.com>
[thuth: Use "stage: build" to let it run earlier]
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/check-dco.py [new file with mode: 0755]
.gitlab-ci.yml