8000 builder-next: allow outputs configuration by tonistiigi · Pull Request #38898 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

builder-next: allow outputs configuration #38898

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

Merged
merged 1 commit into from
Mar 19, 2019

Conversation

tonistiigi
Copy link
Member

Enables controlling exporter settings for build requests running in BuildKit. Only "local" exporter is currently supported as the others have a dependency on containerd contentstore and need to wait for #38043 .

The datatype is an array to support multiple exporters in the future. The implementation currently only accepts a single exporter.

The default behavior is to still export image into the image store.

@tiborvass @AkihiroSuda

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

}
}

if exporterName == "moby" {
Copy link
Member

Choose a reason for hiding this comment

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

Wondering we should call it docker for BuildKit API compatibility

Or internal

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't want to call it docker cause that already means a different exporter. This value is completely invisible to user.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is also temporary. When containerd support lands, this should all go away.

Copy link
Member

Choose a reason for hiding this comment

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

So, on client side, it is prohibited to set the output type to moby explicitly?

Copy link
Member Author

Choose a reason for hiding this comment

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

Currently, you could use it to override options but I would never document it as a guaranteed behavior.

@codecov
Copy link
codecov bot commented Mar 19, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@36d2c8b). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #38898   +/-   ##
=========================================
  Coverage          ?   36.45%           
=========================================
  Files             ?      614           
  Lines             ?    45881           
  Branches          ?        0           
=========================================
  Hits              ?    16725           
  Misses            ?    26869           
  Partials          ?     2287

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Copy link
Member
8000
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@tiborvass tiborvass merged commit 827cb09 into moby:master Mar 19, 2019
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.

5 participants
0