zoukankan      html  css  js  c++  java
  • Gitlab-Runner输出最大限制

    gitlab-runner默认的控制台日志输出的最大长度是4096,实际情况中难免会超出,如果有需要可以在config.toml中添加output_limit=[数字]配置字段来调整日志输出最大长度:

    concurrent = 1
    check_interval = 0
    
    [session_server]
      session_timeout = 1800
    
    [[runners]]
      name = "xxxx"
      url = "xxxx"
      token = "xxxx"
      executor = "shell"
      output_limit = 8192
      [runners.custom_build_dir]
      [runners.cache]
        [runners.cache.s3]
        [runners.cache.gcs]
    

    然后重启gitlab-runner即可生效。

  • 相关阅读:
    ADO.NET存取数据库数据
    2017-01-03
    re模块
    random模块(随机)
    sys模块
    os模块
    datetime模块
    time模块
    logging模块
    Python函数初识
  • 原文地址:https://www.cnblogs.com/macrored/p/13998154.html
Copyright © 2011-2022 走看看