13 Commits

Author SHA1 Message Date
Chris Crone
4c6280b0e9 Rename docker/api -> docker/compose-cli
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-21 17:28:39 +02:00
Guillaume Tardif
f442eafe0b Validate run restart option value. Default value is “none”, instead of “no”, this is more in line with compose values, and changes only the default so should not have too much impact on legacy usage. 2020-08-04 17:11:21 +02:00
Chris Crone
3ba70a27c6 formatter,multierror,progress: Move to gotest.tools
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-04 13:53:54 +02:00
Christopher Crone
50d932195d progress: Rename variable to clarify logic
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-06 14:03:48 +02:00
Christopher Crone
fac4c60077 progress: Add test for error event
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-06 13:52:36 +02:00
Christopher Crone
9cc04472fb progress: Stop event on error
Ensures that we set an `endTime` when an error event is published.

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-06 13:26:39 +02:00
Djordje Lukic
34d76bd561
Merge pull request #243 from docker/chore-license
Add license headers
2020-06-19 01:16:21 -07:00
Djordje Lukic
ad72c866cc Add license headers 2020-06-18 16:48:03 +02:00
Djordje Lukic
cee5b697bb Simpler progress on windows
* no colors
* no braille spinner
2020-06-18 14:16:14 +02:00
Djordje Lukic
a1bb04ebe1 Refactor calling the progress writer to make it easier 2020-06-18 12:10:36 +02:00
Djordje Lukic
b55267739a Azure backend reports progress 2020-06-18 11:01:33 +02:00
Djordje Lukic
fe47237767 Add functions to add the writer in the context 2020-06-18 11:01:00 +02:00
Djordje Lukic
d0e48a25aa Implement a progress writer 2020-06-18 11:01:00 +02:00