CrazyMax
598f1f0a62
build: print instance being used
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
a50e89c38e
progress: explicitly fail if tty requested but not available
...
The NewPrinter function is mostly borrowed from buildkit. However, at
some point, it seems that the implementations drifted.
This patch updates buildx to be more similar in behavior to it's
buildkit counterpart, specifically, it will explicitly fail if a TTY
output is requested using "--progress=tty", but the output is not
available.
To gracefully fallback to plain progress in this scenario,
"--progress=plain" is required.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Sebastiaan van Stijn
fc7ba75fd7
Remove uses of deprecated io/ioutil
...
The package has been deprecated since Go 1.16: https://go.dev/doc/go1.16#ioutil
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
3 years ago
Tonis Tiigi
b77d7864fa
progress: avoid double logs when multiple targets build same step
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Edgar Lee
2d7540fb0a
Separate io.Writer from console.File for NewPrinter
...
Signed-off-by: Edgar Lee <edgarl@netflix.com>
3 years ago
Tonis Tiigi
ed4103ef52
commands: build summary of warnings on build
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tonis Tiigi
9c3be32bc9
vendor: update buildkit to 539be170
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Ulysses Souza
55d5b80dfe
Add quiet mode to progress printer
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
4 years ago
Tonis Tiigi
1496ac9b55
util: simplify progress syncronization
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
ulyssessouza
3d630c6f7f
Replace usage of *os.File by console.File interface on printer
...
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
5 years ago
Tonis Tiigi
f8e8f17f4e
progress: add env config
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
6 years ago
Tonis Tiigi
a6d893efca
driver: add logging support to bootstrap
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
6 years ago