Commit Graph

2348 Commits

Author SHA1 Message Date
Nicolas De Loof 2484dfa5b5
clearer error message and fix typo
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-04 08:02:22 +01:00
Nicolas De loof 74107bf512
Merge pull request #1231 from gtardif/compose_down_remove_orphans
Expose `—remove-orphans` in compose down command
2021-02-03 16:17:31 +01:00
Guillaume Tardif af62c52716
Merge pull request #1230 from gtardif/fix_progress_time_display
Avoid negative elapsed the display when only one event is sent.
2021-02-03 15:55:50 +01:00
Guillaume Tardif 4b20d77a86 Expose `—remove-orphans` in compose down command
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 15:50:49 +01: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
Guillaume Tardif e3f1bc99d3 Init helm action by default with no logger, don’t require callers to initialise it.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 14:20:22 +01:00
Nicolas De loof 09f9a117e2
Merge pull request #1228 from gtardif/healthcheck_e2e
Adding e2e test for local compose healthcheck in compose ps
2021-02-03 14:04:42 +01:00
Guillaume Tardif bf56815251 Adding e2e test for local compose healthcheck in compose ps
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 12:54:22 +01:00
Guillaume Tardif 7d0be7ad5a
Merge pull request #1221 from aiordache/kube_progress_writer
Kube backend: Add progress writer to `compose up/down`
2021-02-03 12:01:03 +01:00
Nicolas De Loof 4cbb33e20d
Add support for --log-level
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-03 11:49:21 +01:00
aiordache 560014f248 Add progress writer to compose up/down
- remove intermediate compose interface

Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-03 11:37:54 +01:00
Nicolas De loof 628417f02d
Merge pull request #1225 from docker/kill
Add kill command
2021-02-03 11:06:06 +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
Guillaume Tardif 8750d053a3
Merge pull request #1222 from gtardif/kube_ctx_description
Kube ctx description
2021-02-03 10:40:38 +01:00
Nicolas De loof b6b2f297be
Merge pull request #1223 from ulyssessouza/fix-golden-based-tests
Fix golden files usage
2021-02-03 07:21:55 +01:00
Ulysses Souza 906e434be5 Fix golden files usage
This follows https://github.com/docker/compose-cli/pull/1220/files

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-02 20:14:23 -03:00
Guillaume Tardif 794f638bec Check context description in kube e2e
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 17:56:01 +01:00
Guillaume Tardif 96f20946af default description about kube contexts
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 17:18:22 +01:00
Guillaume Tardif 4fb205753a
Merge pull request #1217 from gtardif/kube_e2e
First kube e2e. Adapted context create kubernetes command to allow non interactive mode.
2021-02-02 17:17:43 +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 9ef7850076
Merge pull request #1216 from docker/profiles
Introduce --profile option
2021-02-02 16:57:02 +01:00
Nicolas De loof ad7611b9ff
Merge pull request #1220 from docker/golden
golden file in subfolder trigger MkDir ¯\_(ツ)_/¯
2021-02-02 16:53:13 +01:00
Guillaume Tardif 95d21fa768 First kube e2e. Adapted context create kubernetes command to allow non interactive mode.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 16:01:57 +01:00
Nicolas De Loof e48ad7d6c0
golden file in subfolder trigger MkDir ¯\_(ツ)_/¯
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 15:44:37 +01:00
Nicolas De loof b5ac3183d7
Merge pull request #1218 from docker/ps_all
Introduce --all option on compose ps
2021-02-02 14:24:14 +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 b1f864a6f8
Introduce --profile option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 13:51:22 +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
Guillaume Tardif 6215445b8a
Merge pull request #1196 from gtardif/kube_expose_LoadBalancer
Support exposing ports and cross-service communication
2021-02-01 15:39:31 +01:00
Guillaume Tardif 74c394124c Add kube auto-labeller
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 12:22:57 +01:00
Guillaume Tardif aa1efb885a Fix kube selectors : do not only select on serviceName, also ProjectName
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 12:22:41 +01:00
Nicolas De loof ef2e82b6c3
Merge pull request #1204 from docker/aci_timeout
ACI timeout moved from 10 to 15 mins
2021-02-01 11:24:40 +01:00
Guillaume Tardif dfc8ded216 ACI timeout moved from 10 to 15 mins
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 09:48:30 +01:00
Guillaume Tardif 134744709c
Merge pull request #1201 from ulyssessouza/bump-compose-fo
Bump compose-go for absolute paths fix
2021-02-01 09:19:37 +01:00
Ulysses Souza bf17797070 Adapt tests to use absolute paths
- This also includes IDE linter formating

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-30 17:31:56 -03:00
Guillaume Tardif 51d78c0508
Merge pull request #1203 from gtardif/nicer_progress_events_names
Make progress event display homogeneous between up, down, start, stop
2021-01-29 16:59:50 +01:00
Guillaume Tardif 3252c409f8 Make progress event display homogeneous between up, down, start, stop
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-29 16:51:37 +01:00
Guillaume Tardif fd906c6c91
Merge pull request #1178 from docker/tail_logs
introduce compose logs --tail and --follow options
2021-01-29 15:54:38 +01:00
Guillaume Tardif 166db3fa4d
Merge pull request #1189 from aiordache/kube_compose_up
Kube backend: Target the cluster referenced by the docker context
2021-01-29 15:49:53 +01:00
Nicolas De Loof 9d9dbf3a1f
Can't set `-f` as shortcut for `--follow` : conflict with `--file`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-29 15:17:44 +01:00
Nicolas De Loof 163f3b9a89 don't run "removeContainers" in parallel as we follow dependency order
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-29 15:14:04 +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
Nicolas De loof 24b5aeaa32
Merge pull request #1188 from docker/create
introduce compose create command
2021-01-29 15:09:23 +01:00
Nicolas De Loof df702362a3
introduce compose create command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-29 14:50:56 +01:00
Ulysses Souza a3e81be6ea Bump compose-go for absolute paths fix
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-29 10:24:41 -03:00
Guillaume Tardif 0c0c0bea6a
Merge pull request #1200 from docker/fix_start_display
Fix compose start display
2021-01-29 14:17:32 +01:00
aiordache 0807ec0067 Target the kubernetes cluster referenced in the docker "kube" context
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-29 13:13:25 +01:00
Guillaume Tardif 11950efa77 DIsplay progress of starting containers when not attaching to logs (compose up, start)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-29 12:46:19 +01:00
Guillaume Tardif 7f3db85b11 Fix start display : do not mix logs with progress
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-29 12:23:19 +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