Skip to content
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

Better output for Docker commands #3607

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jan 29, 2020

Better output for docker build|push|pull|load

Signed-off-by: David Gageot [email protected]

Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

can you elaborate how this helps? in non-terminal cases it doesn't try to print colors?

@dgageot
Copy link
Contributor Author

dgageot commented Jan 29, 2020

@balopat sorry. It's supposed to behave like the docker CLI does. Instead of printing information on new lines, it'll update lines in place. If the output is not a terminal, then it'll behave like before.

I remember trying to activate that a couple of times and it wasn't working on Matt's machine and your machine. The code I used was a bit different. I hope it works now. Can you try pushing an image?

@codecov
Copy link

codecov bot commented Jan 29, 2020

Codecov Report

Merging #3607 into master will decrease coverage by 0.01%.
The diff coverage is 60%.

Impacted Files Coverage Δ
pkg/skaffold/docker/image.go 75.11% <60%> (-0.57%) ⬇️

@balopat
Copy link
Contributor

balopat commented Jan 29, 2020

Nice!

Instead of this:

image

I have the arrows flowing:

image

@dgageot dgageot merged commit c8d7da4 into GoogleContainerTools:master Jan 29, 2020
kissmikijr pushed a commit to kissmikijr/skaffold that referenced this pull request Feb 3, 2020
kissmikijr pushed a commit to kissmikijr/skaffold that referenced this pull request Feb 3, 2020
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.

3 participants