From: Jonathan Neuschäfer Date: Mon, 13 Dec 2021 23:03:35 +0000 (+0100) Subject: GitLab-CI: Increase clone depth X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a64a0124ff7aa2994e4b8700834ff61573e78cd;p=soc.git 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. --- 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