Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect moby worker supports multiplatform feature through containerd snapshotter #1260

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Aug 9, 2022

No description provided.

if err == nil {
workers, _ := c.ListWorkers(ctx)
for _, w := range workers {
if _, ok := w.Labels["org.mobyproject.buildkit.worker.snapshotter"]; ok {
Copy link
Member

@crazy-max crazy-max Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is in a package we don't currently import

Copy link
Member

@crazy-max crazy-max Aug 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes and this one imports quite a lot.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to, but adding buildkit/vendor import require me to run make vendor and this brings a crazy amount of changes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ndeloof Yes let's keep it like this in the meantime

@crazy-max crazy-max merged commit 98f9f80 into docker:master Aug 9, 2022
@ndeloof ndeloof deleted the moby-containerd branch August 9, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants