builder: add worker gc policies and labels#1440
Conversation
| if idx == 0 { | ||
| d.GCPolicy = w.GCPolicy | ||
| d.Labels = w.Labels | ||
| } |
There was a problem hiding this comment.
Atm it returns GC Policies and labels only for the default worker.
45de5d4 to
53d00d0
Compare
|
Hm, this does make the output a bit noisier, and the policies are slightly tricky to mentally parse. I wonder if the GC policies should be hidden behind a verbose flag? Not sure about this, it's definitely useful information, but probably not to the average user. I think the labels should be good without that, they're not too long. |
Yeah that's noisy but still relevant and for parsing we should do smth like #830 (comment) I will move |
Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
53d00d0 to
89d99b1
Compare
|
LGTM, but we should make sure to get the follow-up to tidy the output and parsing into the same release as this. |
|
Yes and also another follow-up for our actions toolkit: https://github.com/docker/actions-toolkit/blob/8cb1698b203083ee1c3996cbd2a0d197cae79d9f/src/buildx/builder.ts#L57 |
|
@crazy-max @tonistiigi, anything blocking this? |
needs #1430Adds builder GC Policies with worker labels. Will be displayed when using
inspectcommand: