aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-10-19 07:14:39 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-19 07:14:39 +0000
commit0e379524e6e3aedd071d323826378af197344fac (patch)
tree33dcd81c67e458474c492ef7c106cc1b49d7ea6b /.gitlab-ci.yml
parentb9fed8fc265e3fe22395ef3fc4f50ae15fc77a04 (diff)
downloadaports-0e379524e6e3aedd071d323826378af197344fac.tar.gz
aports-0e379524e6e3aedd071d323826378af197344fac.tar.bz2
aports-0e379524e6e3aedd071d323826378af197344fac.tar.xz
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8c0f4d4caf..44e7b31924 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:
- >