summaryrefslogtreecommitdiff
path: root/ci/gitlab/sanity-checks.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/gitlab/sanity-checks.yml')
-rw-r--r--ci/gitlab/sanity-checks.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/ci/gitlab/sanity-checks.yml b/ci/gitlab/sanity-checks.yml
new file mode 100644
index 0000000..f843c7f
--- /dev/null
+++ b/ci/gitlab/sanity-checks.yml
@@ -0,0 +1,26 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool manifest ci/manifest.yml
+#
+# https://gitlab.com/libvirt/libvirt-ci
+
+
+check-dco:
+ stage: sanity_checks
+ needs: []
+ image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master
+ script:
+ - /check-dco "$RUN_UPSTREAM_NAMESPACE"
+ rules:
+ # upstream+forks: Run pipelines on MR
+ - if: '$CI_PIPELINE_SOURCE =~ "merge_request_event"'
+ when: on_success
+
+ # forks: pushes to branches with pipeline requested
+ - if: '$CI_PROJECT_NAMESPACE != $RUN_UPSTREAM_NAMESPACE && $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH && $RUN_PIPELINE'
+ when: on_success
+
+ # upstream+forks: that's all folks
+ - when: never
+ variables:
+ GIT_DEPTH: 1000