From 9a64a0124ff7aa2994e4b8700834ff61573e78cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Tue, 14 Dec 2021 00:03:35 +0100 Subject: [PATCH] GitLab-CI: Increase clone depth Currently, GitLab-CI fails with this error: error: Server does not allow request for unadvertised object d96f737c0a53dde983060522816bbef016b449ce Fetched in submodule path 'pinmux', but it did not contain d96f737c0a53dde983060522816bbef016b449ce. Direct fetching of that commit failed. Fix it by increasing the clone depth from the default of 50 to 500. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 867411fa..c3ca516f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,7 @@ cache: variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" GIT_SUBMODULE_STRATEGY: recursive + GIT_DEPTH: 500 build: stage: build -- 2.30.2