-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Having progress bars for build progress, upload progress, and deploy progress will make things much slicker and obvious to what we are doing when there is no output.
https://lib.rs/crates/indicatif integrates with tracing nicely and won't clobber the log output. If we set up tracing spans, we might also get progress spinners for basically free.
Some concepts:
Cant really get good progress indication out of the docker build without parsing the log output, so probably spinners for this
[INFO] whatever log output up here...
[INFO] not blocked by the progress bar
Building images [=========> ] 4/12 images
\ misc/garf building...
| web/bar building...
/ pwn/notsh pushing registry.example/chals/pwn/notsh:testing...
File uploads ez progress.
[INFO] whatever log output up here...
[INFO] not blocked by the progress bar
Uploading assets [===============> ] 13/20 files
misc/garf garf.jpg [====> ] 15Ki/100Mi
web/bar src.zip [====> ] 15Ki/100Mi
pwn/notsh notsh [====> ] 15Ki/100Mi
pwn/notsh libc.so [====> ] 15Ki/100Mi
Apply kube resources also doesnt really have enough steps to have a bar, so spinners again probably.
[INFO] whatever log output up here...
[INFO] not blocked by the progress bar
Deploying to cluster [===============> ] 8/10 chals
\ misc/garf waiting for deployment...
/ web/bar applying resources...
- pwn/notsh waiting for service to get ip...
Kajmany
Metadata
Metadata
Assignees
Labels
No labels