Commit Graph

2093 Commits

Author SHA1 Message Date
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
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
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
aiordache 3bd15bf0d4 better error display and cleanup
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 881818223c cleanup and small fixes
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 17335ae06c add list command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 7146964168 support multi-service compose
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 5f0f72e27d Add down command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 836732ed37 save chart structure
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache facb86fab2 another package restructuring
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 814d4ca832 fixed uninstall cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 896b9fd47e add uninstall cmd and restructure compose pkg
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 898b7d4666 implements helm install cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache ce3e4d7717 project restructure
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache 4ffc393909 Fix missing fields in chart generate
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
Nicolas De Loof d1e40e9c36 add support for placement constraints
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-20 16:55:08 +01:00
Guillaume Tardif 5306f38f70 Fix linter
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2021-01-20 16:53:26 +01:00
Nicolas De Loof f1976eca07 podTemplate conversion test cases
adapted from compose-on-kubernetes
some test need to be fixed, marked as /*FIXME Test*/

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-20 16:33:24 +01:00
Nicolas De Loof f7c86a7d30 Extend compose to kube conversion
(Most of this code is copy/paste from
https://github.com/docker/compose-on-kubernetes/tree/master/internal/convert)

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-20 16:33:24 +01:00
Nicolas De Loof ba43317862 Replicate docker-compose file loading
Skeletton to produce helm chart by internal conversion

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-20 16:33:24 +01:00
Dominik Braun effc126237
Make `--file` and `--project-name` global compose options
Signed-off-by: Dominik Braun <mail@dominikbraun.io>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-20 14:40:08 +01:00
Nicolas De loof fea9697d77
Merge pull request #1158 from docker/move_e2e_into_backend_folders 2021-01-20 14:37:26 +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 dcd1e30f6a Fix protos target to update new protos folder
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 16:48:54 +01:00
Guillaume Tardif 6859413a5d Moving last things from /tests, removing dead code
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 15:48:48 +01:00
Guillaume Tardif 46935b0300 Move tests to each backend folder
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 15:25:26 +01:00
Nicolas De loof ed67111b3d
Merge pull request #1155 from docker/remove_example_backend 2021-01-19 11:55:19 +01:00
Nicolas De loof 6504a9b7b1
Merge pull request #1156 from ndeloof/env-file
Introduce --env-file
2021-01-19 11:46:56 +01: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 ed18cefc04
Introduce --env-file
fixes #1152

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-19 11:07:13 +01:00