docker / docker/buildx

Bake: Add summary of why build failure happened

Open
#1,320 2 comments 0 reactions 1 assignee View on GitHub

@crazy-max is already working on this.

Since Jun 20, 2024.

area/bake
Dominant language
Go
Stars
4.5k
Forks
682
Avg merge
2d 14h
Merged PRs (30d)
29

Description

Currently when baking lots of targets it's common for the logs to contain:

  • Lots of successful build lines
  • Some error
  • Lots of other lines from the parallel jobs being cancelled

When looking at something like CI output (probably with --progress=plain) it can be hard to locate the source of the error

It would be great to have a summary that explained clearly:

  • Which target failed
  • Which stage failed
  • What line failed
  • What the error output was (in the case of a RUN failure)

Importantly, it would be great to have this at the very end of the output just before buildx exits

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.