buildx/util
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>
2022-10-25 10:55:36 +01:00
..
buildflags s3 cache client-side support 2022-08-30 17:00:15 +02:00
cobrautil cli: fix builder persistent flag 2021-11-04 18:52:17 +01:00
confutil create: load default buildkit config if none specified 2022-05-13 11:54:16 +02:00
imagetools imagetools: support cross-repo mounting 2022-07-29 14:29:29 +01:00
logutil Remove uses of deprecated io/ioutil 2022-03-10 01:46:06 +01:00
platformutil separate manual and automatically detected platforms 2020-04-24 20:08:43 -07:00
progress progress: explicitly fail if tty requested but not available 2022-10-25 10:55:36 +01:00
resolver allow multi-node push and imagetools to use custom registry config 2021-11-04 10:02:12 -07:00
tracing enable opentelemetry support 2021-07-12 13:42:52 -07:00
userfunc Dockerfile: update golangci-lint to 1.48.0 (go 1.19 support) 2022-08-11 02:10:33 +02:00
waitmap util: add waitmap for target synchronization 2022-01-27 18:46:12 -08:00