[mutter/wip/carlosg/ci-review-clone-depth] ci: Ensure we clone a deep enough history for commit review
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/ci-review-clone-depth] ci: Ensure we clone a deep enough history for commit review
- Date: Wed, 24 Apr 2019 10:28:06 +0000 (UTC)
commit 8940d2a968c16242ba2ba285cc60286a3a0e2413
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Apr 24 12:24:12 2019 +0200
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.
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)
---
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]