From 396480d06732201026b104c0c36e3da8741e59b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 24 Mar 2020 12:04:08 +0000 Subject: [PATCH] gitlab: restrict git history to 100 commits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Erik Skultety Signed-off-by: Daniel P. Berrangé --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f77ab55ba..4438f51a6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ variables: MAKE: make + GIT_DEPTH: 100 .job_template: &job_definition script: