gitlab: restrict git history to 100 commits

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>
This commit is contained in:
Daniel P. Berrangé 2020-03-24 12:04:08 +00:00
parent 9e4f7cecc7
commit 396480d067

View File

@ -1,5 +1,6 @@
variables:
MAKE: make
GIT_DEPTH: 100
.job_template: &job_definition
script: