错误信息
Job’s log exceeded limit of 4194304 bytes
原因
Set maximum build log size in kilobytes, by default set to 4096 (4MB)
Gitlab Runner中,默认设置日志大小为:4MB
解决办法
-
找到Gitlab Runner的config.toml
-
找到对应的执行Runners
-
修改Gitlab Runner的日志大小
-
docker restart gitlab-runner
参考
Gitlab Runner - The runners section