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

Quicker and more transparent feedback on command progress #56

Open
ilazakis opened this issue Nov 17, 2018 · 0 comments
Open

Quicker and more transparent feedback on command progress #56

ilazakis opened this issue Nov 17, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@ilazakis
Copy link
Contributor

ilazakis commented Nov 17, 2018

All commands that end up running shell scripts (e.g. build, push) are using subprocess.check_output for execution which only returns the output after the script executing subprocess exits.

It would be nice to have more immediate feedback of what's happening. Pushing to ECR for example can take a really long time to execute — sometimes hours — but a user only sees the following on the command line.

Started pushing Docker image to AWS ECS. It will take some time. Please, be patient...

It would be nice to have some indication of progress across the API since many (most?) commands have long execution time potential.

Suggestions

Use an alternative method of calling subprocess that allows streaming of output or switch to using Python scripts and a corresponding Python docker client.

@ilazakis ilazakis added the enhancement New feature or request label Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant