首页 > 其他 > 详细

gitlab pipelines job执行时日志较大报错

时间:2018-04-10 23:17:23      阅读:935      评论:0      收藏:0      [点我收藏+]

问题描述

gitlab pipelines job执行时日志较大报错

Job's log exceeded limit of 4194304 bytes.

解决方案

出现该问题主要是因为gitlab runner默认日志大小为4096,修改相关配置即可

1.修改gitlab runner配置/etc/gitlab-runner/config.toml

concurrent = 1
check_interval = 0

[[runners]]
  name = "ci"
  url = "http://git.***.org/"
  token = "6f20e039115b404f4ff88fb4633fd7"
  executor = "shell"
  builds_dir = "/mdata/builds"
  # 此行为新增行,默认配置为4096
  output_limit = 8192
  [runners.cache]
2.重启gitlab runner

gitlab-runner restart

gitlab pipelines job执行时日志较大报错

原文:https://www.cnblogs.com/baishuchao/p/8783179.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!