From 2b30146c6c9f384963f1ab92c7aae7ac6477a86c Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 24 Apr 2019 12:24:12 +0200 Subject: [PATCH] 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 --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c662ce3a..c95799836 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,8 @@ variables: check_commit_log: image: registry.gitlab.gnome.org/gnome/mutter/master:v1 stage: review + variables: + GIT_DEPTH: "100" script: - ./.gitlab-ci/check-commit-log.sh only: