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
Make streaming Docker build progress to terminal when using flow.deploy()
either default or clearer opt-in
#12310
Comments
@kevingrismore Thanks for posting up this issue. Would really appreciate seeing this as it is the default behavior for the |
Thanks for the issue! We could probably add a more first-class way to enable users to stream the output, or stream it by default as was mentioned. We've added this to our backlog :) |
Hello there, I have a draft PR addressing this one. Hopefully it's not duplicate work for someone in Prefect 😅 |
First check
Prefect Version
2.x
Describe the current behavior
Building an image with
.deploy()
does not stream build progress to the terminal by default, and to figure out how to make this happen I had to dig through a few layers of calls to find thatstream_progress_to
can be used withDeploymentImage
.When using the docker build step with
prefect.yaml
build progress is streamed to the terminal by default.Describe the proposed behavior
Either change the default behavior to
.deploy()
to match building images withprefect.yaml
with an opt out, or surface a flag to stream build progress at the.deploy()
level or more explicitly in theDeploymentImage
class.Example Use
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: