docker / docker/github-builder

Create a way to adjust BUILDKIT_STEP_LOG_MAX_SIZE

未关闭
#209 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
83
派生
23
平均合并
2 天 22 小时
30 天内合并 PR
8

描述

https://github.com/docker/github-builder/blob/c26077c31d693970dd9fc4ba681e6aef90193e7d/.github/workflows/build.yml#L529-L532

It would be great to be able to specify the log size and rate limits.

env.BUILDKIT_STEP_LOG_MAX_SIZE
env.BUILDKIT_STEP_LOG_MAX_SPEED

About the worst thing you can do when a build is taking longer than expected is to drop the logs that would tell me why. The longer it takes and the more logs, the greater the lost time trying to repeat it to identify the problem.

As it stands, I need a separate job to adjust these unless I am missing something.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 .github/workflows/build.yml 的第 529-532 行开始,检查可复用 workflow 如何向 BuildKit build 暴露并传递配置。跟踪现有的环境设置,然后确定用户如何提供 BUILDKIT_STEP_LOG_MAX_SIZE 和 BUILDKIT_STEP_LOG_MAX_SPEED。完成的标准是:无需单独的 job 即可配置这两个限制,并且 workflow 仍然有效。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, github-actions
领域
build-system, ci-cd
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。