Skip to content

Conversation

@nicolecastillo
Copy link
Collaborator

Shows docker build output by default and when the --quiet flag is given to popper run it hides it.

Copy link
Collaborator

@ivotron ivotron left a comment

Choose a reason for hiding this comment

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

looking great!

if not self._config.dry_run:
self._d.images.build(

_, build_logs = self._d.images.build(
Copy link
Collaborator

Choose a reason for hiding this comment

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

this blocks, so the output only shows until images.build() returns. If the output of the build is too big, this might cause memory issues. In order to avoid this, this code can use the low-level API as exemplified here. Very similar to what what's already here, but with a couple of tweaks.

@ivotron
Copy link
Collaborator

ivotron commented Jul 16, 2020

thanks! I made some tweaks based on what you have in this PR and pushed them to https://github.com/getpopper/popper/tree/pr/882 . Does all that make sense to you? If it does, can you please rebase that branch from this PR?

@nicolecastillo
Copy link
Collaborator Author

nice! I did the rebase and it works smoothly.

@ivotron
Copy link
Collaborator

ivotron commented Jul 16, 2020

great, thanks! can you please push the changes to this PR, so I can merge from here? otherwise your authorship is going to get lost.

@nicolecastillo
Copy link
Collaborator Author

sure 😁

@ivotron ivotron merged commit ce2302c into getpopper:master Jul 16, 2020
@ivotron
Copy link
Collaborator

ivotron commented Jul 16, 2020

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants