Restore build concurrency limit now that bake supports it
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, docker-compose, go
- 領域
- build-system, cli
調査の方向性
Start with the --parallel flag and COMPOSE_PARALLEL_LIMIT in the CLI build options, then trace where they are deprecated and ignored after the move to Bake (#13043). Check how build options are passed to buildx bake, and how linked service:x additional contexts become target: link. Done means the limit reaches bake as a per-target limit, a clear error or fallback appears when buildx is too old, and the linked-target case still builds.
索引モデルが issue の本文から書いたものです。
説明
I'd love to see --parallel / COMPOSE_PARALLEL_LIMIT un-deprecated and reused, now that Bake has per-target limit in buildx v0.38.0 (yesterday!) https://github.com/docker/buildx/pull/4044
Since builds moved to Bake the flag is ignored (#13043), and was the main way to throttle builds so a low vcpu/mem CI server doesn't OOM in the middle of building a bunch of services at once. There's a workaround by writing a custom builder .toml, but that UX is not it, and I think that caps build steps not targets plus you have to remember to switch builders back.
I think Compose passthrough is pretty straightforward, but may need consideration around linked targets when additional_contexts: service:x become target: link so the build doesn't fail, and a flag when buildx isn't new enough.
- 主要言語
- Go
- スター
- 38.4k
- フォーク
- 5.9k
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 67
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/compose のほかの issue
-
[BUG] `docker compose run` drops the anonymous volumes of a dependency it recreates対応中かも @htoyoda18 が 1 日前に担当しました。 オープンkind/bug status/0-triage
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
kind/feature status/0-triage
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
[BUG] <title>オープンkind/bug status/0-triage
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
メンテナーはふだん 1 日以内に返信
-
Epic: Move service selection into the backend API instead of pre-filtering the project in the CLIオープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
メンテナーはふだん 1 日以内に返信
-
Watch: exec mode対応中かも @glours が 6 日前に担当しました。 オープンkind/feature
docker/compose#14326 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Chained slog With calls discard previously bound attributes対応中かも @yuefdev が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[scanner] TestAgentNowLineStates hard-fails instead of degrading when node is off PATH対応中かも @arteeh が今日担当しました。 オープンagent/scanner ci help wanted kind/test
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
hivecommons/hive#12924 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Gentleman-Programming/engram#1940 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudflare/terraform-provider-cloudflare#7423 ·
メンテナーはふだん 1 日以内に返信
-
devices
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
evcc-io/evcc#35007 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信