我注册了gitlabRunner的11个项目。
除1个项目外,每个项目的跑步者都可以正常工作。
我第一次注册该项目的执行者,它可以工作。
但是在我提交/推送某些更改后,会发生错误并导致作业失败。
我看到一些解决方案,升级git版本可以解决问题,但我不这么认为。
因为除此项目外,所有跑步者都可以正常工作。
服务器操作系统:CentOS 7
git:1.8.3.1
首次注册亚军
在(...)上
使用gitlab-runner 11.9.2运行(...)使用Shell executor ...
在localhost.localdomain上运行...
/ home / gitlab-runner /(...)中已初始化的空Git存储库/.git/
清理存储库
将git深度设置为50的更改正在获取...
创建了新的存储库。
从https://gitlab.com/(...)*
[新分支] master- > origin / master
检出(...)作为master ...
跳过Git子模块设置
$ echo“> gitlab-ci启动了”
gitlab-ci启动
$ cd / home /(..)$
echo“> git pull start ”
git pull启动
$ git pull
远程:总计0(增量0),已重用0(增量0)
已经是最新的。
工作成功
第二次提交/拉动,然后
在(...)
上运行gitlab-runner 11.9.2(...)
使用Shell executor ...
在localhost.localdomain上运行...
重新初始化/ home / gitlab-runner /(...)中的现有Git存储库/.git/
清理存储库
git深度设置为50时正在获取更改...
致命:远程源已经存在。
致命:git fetch-pack:预期的浅表
错误:作业失败:退出状态1
编辑。这是我的.gitlab-ci.yml
stages:
- deploy …Run Code Online (Sandbox Code Playgroud)