8000 builder-next: allow outputs configuration by tonistiigi · Pull Request #38898 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content

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

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

@thaJeztah thaJeztah added the area/builder Build label Mar 19, 2019
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Copy link
Member
@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

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