-
Notifications
You must be signed in to change notification settings - Fork 18.8k
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
Conversation
} | ||
} | ||
|
||
if exporterName == "moby" { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
631fa6d
to
aa00249
Compare
Codecov Report
@@ Coverage Diff @@
## master #38898 +/- ##
=========================================
Coverage ? 36.45%
=========================================
Files ? 614
Lines ? 45881
Branches ? 0
=========================================
Hits ? 16725
Misses ? 26869
Partials ? 2287 |
aa00249
to
7d62bb6
Compare
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
7d62bb6
to
768c6d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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