Commit Graph

2120 Commits

Author SHA1 Message Date
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
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 d53d437bbc
Merge pull request #1177 from gtardif/kube_linter
Fixing Kube compile / lint errors
2021-01-26 15:45:32 +01:00
Guillaume Tardif 67a50b4ce6 Fixing Kube compile / lint errors
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 09:43:12 +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
Guillaume Tardif 2dc0616000
Merge pull request #1157 from aiordache/kube_backend
Add Kubernetes backend
2021-01-22 10:17:56 +01:00
aiordache 60aed92367 remove redundant API interface
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-21 14:55:31 +01:00
aiordache f09a57351f remove unused utils pkg
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-21 14:48:41 +01:00
Nicolas De loof 9e1ec76da8
Merge pull request #1165 from docker/global-opts
Make `--file` and `--project-name` global compose options
2021-01-21 11:51:04 +01:00
aiordache 1574ebdfff refactored compose in charts
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 68b29f569b small fixes
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +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
aiordache ef22ce2578 Cleanup before migration to compose-cli
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00