今天新安装了git-runner,在执行git-ci的时候,提示如下错误:

Running with gitlab-runner 14.6.0 (5316d4ac)
  on Inboc-Gitlab-Runner for linux jqG_RmvR
Preparing the "shell" executor
00:00
Using Shell executor...
Preparing environment
00:00
Running on Inboc-Gitlab-Runner...
Getting source from Git repository
00:00
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /home/gitlab-runner/builds/jqG_RmvR/0/dbdev/iboflow/.git/
fatal: git fetch-pack: expected shallow list
fatal: The remote end hung up unexpectedly
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit status 1

通过错误提示中的信息,找到 fatal: git fetch-pack: expected shallow list这条内容,可以看出是与git相关的。通过google查询是与git的版本相关,升级到最新版后一切正常。

升级教程参考文章:使用yum升级git到最新版

GitHub 加速计划 / li / linux-dash
6
1
下载
A beautiful web dashboard for Linux
最近提交(Master分支:3 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐