Guillaume Tardif
cba4f140ae
Add —all option to compose ls, listing non running projects.
...
Added e2e tests to stop, start, pause, unpause, ls —all, ps —all
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-24 13:11:12 +01:00
Nicolas De Loof
e362947cb1
introduce pause and unpause commands
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 17:08:41 +01:00
Nicolas De Loof
2b0e0f2741
pass service to LogConsumer
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 11:40:26 +01:00
Nicolas De loof
5e7203dbe4
Merge pull request #1306 from aiordache/compose_exec_cmd
...
Add `compose exec` command
2021-02-16 14:15:48 +01:00
Nicolas De Loof
12a5100b20
reconcide log's wplit_writer implementations
...
close #1311
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 10:59:28 +01:00
aiordache
afac025a49
Add `compose exec` command
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-16 10:56:00 +01:00
Nicolas De Loof
0b517741a0
introduce --timeout on compose stop|down
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-16 10:21:01 +01:00
Nicolas De Loof
5cb2533faa
dryrun to collect resources to be removed, then remove
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 12:32:44 +01:00
Nicolas De Loof
20b83aa237
introduce compose rm command
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-15 09:26:52 +01:00
Nicolas De Loof
4462f12249
revisit `run` implementation as create, attach, start, wait
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-12 17:45:02 +01:00
Nicolas De Loof
7a7114fb5f
Capture container exit code and dump on console
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Guillaume Tardif
1562af9e41
Merge pull request #1249 from aiordache/kube_convert_cmd
...
Kube backend: Add `compose convert`
2021-02-09 11:31:26 +01:00
aiordache
f21326a319
Add output flag for writing chart files
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 18:10:02 +01:00
aiordache
9be77beb73
Add compose logs test
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 15:20:49 +01:00
aiordache
1e7ce90561
Kube backend: add the `compose logs` command
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 15:19:47 +01:00
aiordache
a9247e5412
Kube backend: add `compose convert` for displaying the generated chart content
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 15:18:12 +01:00
Guillaume Tardif
a5affa447f
Adapt e2e tests to compose flag order
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-08 11:33:10 +01:00
Guillaume Tardif
677bfc9ce5
Set kube namespace properly
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 11:09:06 +01:00
Guillaume Tardif
15c0b883fe
hide non running containers if no --all option
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:49:31 +01:00
Guillaume Tardif
f368036ddd
Add compose ps listing pod statuses (retrieve pods from compose project label)
...
This does not yet retrieve port sharing data (need to reconcile ports with kube services)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:07:52 +01:00
Guillaume Tardif
73e94b4ba5
Add Kube client
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:07:52 +01:00
Guillaume Tardif
211a1d5d2d
Revert "Prefix kube resource with compose project name to avoid name clashes between projects. "
...
This reverts commit 6b61902a23
.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 09:40:40 +01:00
Guillaume Tardif
6b61902a23
Prefix kube resource with compose project name to avoid name clashes between projects.
...
Kube resource name follow the form `<PROJECT>-<SERVICE>`. (“_” are not allowed there, using “-“. Project names can include “-“, so we can’t parse back to retrieve project and service names, we MUST rely on labels.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-04 13:55:27 +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
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
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
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
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
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
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
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
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
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
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
4ff20bdda8
Add start and stop commands
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-27 17:18:10 -03: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
aiordache
849707016b
Implement kubernetes context create
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-26 16:10:57 +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
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
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
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