]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
gitlab: restrict git history to 100 commits
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 24 Mar 2020 12:04:08 +0000 (12:04 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 27 Mar 2020 12:32:48 +0000 (12:32 +0000)
We don't need the full git history when running CI jobs. From a code POV
we only need the most recent commit, but we want to be able to run
checks on the commits too. In particular to validate the DCO signoff for
each commit.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
.gitlab-ci.yml

index 6f77ab55baf4ef9287073411a248395db2d7ffce..4438f51a6af06de973d8fb073fb9ad8426de38a9 100644 (file)
@@ -1,5 +1,6 @@
 variables:
   MAKE: make
+  GIT_DEPTH: 100
 
 .job_template: &job_definition
   script: