diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2020-04-30 16:24:52 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-04-30 16:24:52 +0100 |
commit | 51d434cf0375eeae9f24073fafc09ae69da3110d (patch) | |
tree | 029978f2c2f51e7a11e8214ae00a3f44e7d7a09f /.gitlab-ci.yml | |
parent | 4d99e8443c15447da3b0fe9a63642966e02e508c (diff) | |
download | libvirt-python-51d434cf0375eeae9f24073fafc09ae69da3110d.tar.gz |
gitlab: add CI job for validating DCO signoff
This job uses the shared "check-dco" image to validate that all
commits on a branch in a developer's repo fork have a suitable
Signed-off-by statement present.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..50dae92 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ + +stages: + - prebuild + +# Check that all commits are signed-off for the DCO. +# Skip on "libvirt" namespace, since we only need to run +# this test on developer's personal forks from which +# merge requests are submitted +check-dco: + stage: prebuild + image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master + script: + - /check-dco + except: + variables: + - $CI_PROJECT_NAMESPACE == 'libvirt' |