Chris Crone
d27bda5e1d
build: Update golangci-lint
...
* Replace goling with revive as the former is deprecated
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-05-19 15:00:53 +00:00
Julien Tant
8f9ce9d763
Add cp command
...
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-01 18:20:52 -07:00
Nicolas De Loof
15eab93b31
docker compose exec to return command exit code
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:58:45 +02:00
Guillaume Tardif
eb7732ffec
Merge pull request #1505 from aiordache/image_cmd
...
Add `compose images` cmd
2021-04-08 11:24:35 +02:00
Nicolas De Loof
7d85485242
pause/unpause only need project name. use getContainers where possible
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-08 09:40:50 +02:00
aiordache
08055d7c7a
Add `compose images` cmd
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-07 16:08:09 +02:00
Ulysses Souza
02744ac4f9
Add --ignore-pull-failures to command pull
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-24 14:44:04 -03:00
Guillaume Tardif
a86a4737da
Merge pull request #1438 from docker/port
...
introduce `port` command for parity with docker-compose
2021-03-19 15:08:09 +01:00
Guillaume Tardif
e0344ea7b4
Merge pull request #1415 from ulyssessouza/add-restart
...
Add restart command
2021-03-19 15:04:57 +01:00
Nicolas De Loof
8b38874aba
introduce `port` command for parity with docker-compose
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-19 13:31:42 +01:00
Nicolas De Loof
949e8bb090
use "container name witout project" for both logs and events
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-17 11:38:43 +01:00
Ulysses Souza
2fdc3bad48
Add restart command
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-16 02:02:36 -03:00
Nicolas De Loof
48402585fd
replace passing parameters by context with singletons
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-12 15:28:17 +01:00
Nicolas De Loof
9c4d8ab158
(re)attach to container after restart
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-08 14:11:15 +01:00
Nicolas De Loof
4c592700ee
introduce docker compose events
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-08 12:19:05 +01:00
Nicolas De loof
f08c58f903
Merge pull request #1398 from aiordache/compose_top
2021-03-08 11:25:46 +01:00
aiordache
62f24c7086
Add `ignore-push-failures` flag to `compose push`
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 13:39:31 +01:00
aiordache
79af862613
Add `compose top` command
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 12:44:16 +01:00
aiordache
012f710717
Fix lint issues
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-04 18:05:23 +01:00
aiordache
c588a4108c
Fix secret long form target path
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:35:17 +01:00
aiordache
b3d39931b3
add timeout for up/down
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:35:17 +01:00
aiordache
48928811df
Wait for pods to be running/terminated on compose up/down
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:33:43 +01:00
aiordache
d10600041d
Add secret support
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:33:32 +01:00
aiordache
05c4caef95
Kube: Fix logs filter
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:26:24 +01:00
aiordache
9ec5af76cd
Wait for expected pod status on `compose up`
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:26:24 +01:00
Nicolas De Loof
6f73007265
support compose build --pull
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 09:06:21 +01:00
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