Skip to content
代码片段 群组 项目
提交 06b2557b 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Set GIT_DEPTH to 20

Before if the SHA of the last CI run were ahead of the next CI run by
more than 50 commits, the build would fail because Git assumes the full
history is present
(https://gitlab.com/gitlab-org/gitlab/issues/33041). It does not know
the current repository has a shallow clone.

With https://gitlab.com/gitlab-org/gitlab/issues/39134, the pre-clone
script now seeds the repository with the full history of `master` and a
consistent snapshot. As a result, we should be able to use a shallow
clone with a lower depth, which should decrease the load from the
server.
上级 9ce1c711
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册