From 0e379524e6e3aedd071d323826378af197344fac Mon Sep 17 00:00:00 2001 From: Kevin Daudt <kdaudt@alpinelinux.org> Date: Sat, 19 Oct 2019 07:14:39 +0000 Subject: [PATCH] gitlab-ci: override git strategy / depth In order to properly calculate what aports have been changed, we need proper history being present. A shallow clone interferese with that. Instead of having to override these settings on each project (forks of aports), we can override these settings in the CI jobs description instead. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8c0f4d4caf63..44e7b31924b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,10 @@ stages: - lint - build +variables: + GIT_STRATEGY: fetch + GIT_DEPTH: "0" + # Make sure master points to the correct upstream commit before_script: - > -- GitLab