summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2019-04-24 12:24:12 +0200
committerCarlos Garnacho <carlosg@gnome.org>2019-04-24 12:29:22 +0200
commitbcee8904340a2e57d891c4c4738cdd815b91f9ee (patch)
tree765ae8612921db044c7f360627d19dfc6b9cf62c /.gitlab-ci.yml
parent251fa024c416b1507a8cb1c9115082be87d25632 (diff)
downloadmutter-bcee8904340a2e57d891c4c4738cdd815b91f9ee.tar.gz
ci: Ensure we clone a deep enough history for commit review
It seems gitlab changed something recently in the default clone depth which made MRs with >10 commits to obscurely fail in the review stage. As per https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning, bump it to 100 to allow bigger MRs. https://gitlab.gnome.org/GNOME/mutter/merge_requests/551
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 09b0052c5..f86ffd516 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,8 @@ stages:
check-commit-log:
stage: review
+ variables:
+ GIT_DEPTH: "100"
script:
- ./.gitlab-ci/check-commit-log.sh
only: