]> git.ipfire.org Git - thirdparty/libvirt.git/commit
gitlab: introduce a check for validate DCO sign-off
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 Mar 2020 10:46:47 +0000 (10:46 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 27 Mar 2020 12:32:48 +0000 (12:32 +0000)
commitc7f11d0a6cdc59996b2963ec52a0950d9db50c6f
tree487ad89ec3b7352fb6576f04551d226cc17c2ace
parent1e16d4f4830cc6fb1f11e9bb79f7dc4e9e63c70d
gitlab: introduce a check for validate DCO sign-off

This introduces a CI job for validating DCO sign-off in every commit
message. The CI jobs are not provided any information on what the
baseline commit for the branch was. We can't compare against the forked
repo's master branch, as there's no guarantee the user is keeping master
up2date in their fork. Thus we add the master upstream repo as a git
remote and identify the common ancestor.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
.gitlab-ci.yml
scripts/require-dco.py [new file with mode: 0755]