Commit Graph

2230 Commits

Author SHA1 Message Date
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
Nicolas De loof c881e22ab8
Merge pull request #1143 from aiordache/local_volume_override 2021-01-18 21:20:34 +01:00
Nicolas De loof aaba5b3ac7
Merge pull request #1154 from ndeloof/stalebot
enable and configure stalebot
2021-01-18 15:38:16 +01:00
Nicolas De Loof dbaf1c0030
enable and configure stalebot
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-18 15:22:41 +01:00
aiordache 3e3f94c161 update tests
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-18 11:58:21 +01:00
aiordache 774234750d Parse volumes_from
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-18 11:06:09 +01:00
Nicolas De loof 268b3f65b0
Merge pull request #1144 from docker/down_with_file
run "down" using project if it was set for command
2021-01-18 10:53:46 +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
Nicolas De loof 54020db517
Merge pull request #1150 from gtardif/refacto_folders
Refacto folders
2021-01-15 19:25:16 +01:00
Guillaume Tardif 907ba0c03e Removed unit tests (using example context) that are in fact duplicates of e2e tests in test/e2e
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 17:28:46 +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
Guillaume Tardif 5e20ffdc50 Move prompt => utils/prompt
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:49:12 +01:00
Guillaume Tardif fe39267e3a Move formatter => cli/formatter. Needed to move formatter.MemBytes => utils.MemBytes (helper class on memory display)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:47:30 +01:00