Commit Graph

108 Commits

Author SHA1 Message Date
Guillaume Tardif 3778b664af Stop displaying logs when user cancels compose up, to not mix with stop progress display
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-23 15:13:51 +01:00
Nicolas De Loof ed17e762cc
introduce a few more `compose run` options
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 13:41:50 +01:00
Nicolas De Loof e362947cb1
introduce pause and unpause commands
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 17:08:41 +01:00
Nicolas De Loof 2b0e0f2741
pass service to LogConsumer
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 11:40:26 +01:00
Nicolas De Loof c25fd5689e
intorude logs --timestamp
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-18 16:50:39 +01:00
Nicolas De Loof f07a4a72b9
introduce --rmi and --volumes option on down
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-17 16:11:35 +01:00
Nicolas De loof 65fc4ffb4e
Merge pull request #1313 from docker/quiet 2021-02-17 15:24:36 +01:00
Nicolas De Loof 057f23ed75
non-tty progress write to stdout
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-17 15:23:26 +01:00
Nicolas De loof 5e7203dbe4
Merge pull request #1306 from aiordache/compose_exec_cmd
Add `compose exec` command
2021-02-16 14:15:48 +01:00
Nicolas De loof bd9248d074
Merge pull request #1303 from docker/down_timeout
introduce timeout flag on down and stop
2021-02-16 10:59:02 +01:00
aiordache afac025a49 Add `compose exec` command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-16 10:56:00 +01:00
Nicolas De loof 8029db807c
Merge pull request #1301 from docker/color_fix
fix color assignment on status messages
2021-02-16 10:43:16 +01:00
Nicolas De Loof 0b517741a0 introduce --timeout on compose stop|down
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 10:21:01 +01:00
Nicolas De Loof 5cb2533faa
dryrun to collect resources to be removed, then remove
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 12:32:44 +01:00
Nicolas De Loof 4fcaa29614
fix color assignment on status messages
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 12:29:48 +01:00
Nicolas De Loof 20b83aa237
introduce compose rm command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 09:26:52 +01:00
Nicolas De Loof 8533a26929 make color assignment predictable and option to disable prefixes/colors
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:55:38 +01:00
Nicolas De Loof 4462f12249
revisit `run` implementation as create, attach, start, wait
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:45:02 +01:00
Nicolas De Loof 8b90814de6
e2e test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-11 13:26:58 +01:00
Nicolas De Loof d9fe745cc0
avoid use of channels in API for gRPC compatibility
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-11 09:34:08 +01:00
Nicolas De Loof a4b003ecfa
pull logs and events better than aggregate events from multiple channels
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:27:36 +01:00
Nicolas De Loof 06b033db6c `Event` is way too generic noon
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Nicolas De Loof f3d093cb54 introduce cascade stop "--abort-on-container-exit" option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Nicolas De Loof 7a7114fb5f Capture container exit code and dump on console
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Guillaume Tardif 1562af9e41
Merge pull request #1249 from aiordache/kube_convert_cmd
Kube backend: Add `compose convert`
2021-02-09 11:31:26 +01:00
aiordache f21326a319 Add output flag for writing chart files
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 18:10:02 +01:00
Guillaume Tardif ec302a2e10 Fix display glitch when sending a single “Done” event with no previous “Working” event ont he same ID
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-08 17:21:18 +01:00
Ulysses Souza dc80f6b6e7 Add environment_files label
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-05 10:59:54 -03:00
Guillaume Tardif f0dbc60676 Avoid negative elapsed the display when only one event is sent.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 15:39:58 +01:00
Nicolas De Loof 0aa3f4a189
Add kill command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-03 10:44:26 +01:00
Nicolas De loof 4d3d7c11ca
Merge pull request #1211 from docker/health
Add HEALTH column to compose ps
2021-02-02 16:58:26 +01:00
Nicolas De Loof 9b282b69f8
Introduce --all option on compose ps
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 13:58:27 +01:00
Nicolas De Loof c4f6b1bd14
Add HEALTH column to compose ps
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-01 17:40:30 +01:00
Nicolas De Loof 7d0e1dfc3c introduce compose logs --tail and --follow options
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-29 15:10:56 +01:00
Guillaume Tardif c9028f9f37
Merge pull request #1180 from docker/add-compose-stop
Add start and stop commands
2021-01-29 12:15:24 +01:00
Nicolas De Loof 9e77499c2a
introduce --force-recreate and --no-recreate
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-28 15:25:41 +01:00
Ulysses Souza 4ff20bdda8 Add start and stop commands
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-27 17:18:10 -03:00
Guillaume Tardif 0d778fbf48
Merge pull request #1175 from aiordache/kube_context_create
Refactor kubernetes context create
2021-01-26 17:09:03 +01:00
Guillaume Tardif 3f474143ad
Merge pull request #1163 from docker/stop-on-ctrlc
Stop project on Ctrl+C
2021-01-26 17:08:32 +01:00
Guillaume Tardif 61a3f6faa5 Keep “kubernetes” in `docker context create kubernetes mycontext` UX. We cannot use “kubernetes” as an endpoint name, because the context Marshall/unmarshall has a specific logic for the “kubernetes” endpoint, so storing “kube”
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 16:40:18 +01:00
aiordache 849707016b Implement kubernetes context create
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-26 16:10:57 +01:00
Nicolas De loof dc790d542f
Merge pull request #1172 from docker/ls_filters
introduce `--filter` option on `compose ls`
2021-01-22 10:54:20 +01:00
Nicolas De Loof f33eff5903
introduce `--filter` option on `compose ls`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-22 10:27:56 +01:00
aiordache f291b77902 rename context to kubernetes
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 50792c4621 Add Kubernetes backend
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
Ulysses Souza 0529415fa7 Stop project on Ctrl+C
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-20 10:02:59 -03:00
Guillaume Tardif aca816d5d6 Remove example backend.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 11:29:48 +01:00
Nicolas De Loof e4682a0565
run "down" using project if it was set for command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-18 10:43:52 +01:00
Guillaume Tardif 2a8c24e4ff Move config => api/config
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:55:10 +01:00
Guillaume Tardif f1ac6d4fdc Move errdefs => api/errdefs
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:54:18 +01:00