2135 Commits

Author SHA1 Message Date
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
Nicolas De loof
c3443410fe
Merge pull request #1190 from docker/recreate_flags
introduce --force-recreate and --no-recreate
2021-01-29 11:25:11 +01:00
Guillaume Tardif
1693fbdf34
Merge pull request #1185 from ulyssessouza/fix-array-out-of-bounds
Add defensive code
2021-01-29 11:17:59 +01:00
Guillaume Tardif
e159e82ecc Support exposing ports and cross-service communication
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-28 18:33:56 +01:00
Ulysses Souza
cd233ceb5c Add defensive code
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-28 13:28:53 -03: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
Guillaume Tardif
a96ceac595
Merge pull request #1187 from docker/fix_aci_flaky_stop
Better resolution for ACI flakyness on container stop/restart
2021-01-28 12:23:10 +01:00
Guillaume Tardif
be0a8954fa more brutal aci flakyness resolution
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-28 12:14:28 +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
Nicolas De loof
657e89449a
Merge pull request #1179 from gtardif/kube_lint_test 2021-01-27 10:26:33 +01:00
Guillaume Tardif
6a03c4ff03 Fixing linter after rebasing
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 18:20:00 +01:00
Guillaume Tardif
ecdc170938 CI build, lint & test tube backend.
Fixed some tests, let some failing test still fail, to be fixed

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 18:09:29 +01: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