Mathieu Champlon
7b03b04484
Merge pull request #1916 from mikesir87/allow-unspecified-protocol-on-port
...
Allow unspecified protocol on exposed port in kube backend
2021-07-28 07:47:05 +02:00
Michael Irwin
e62bfc87c2
Allow unspecified protocol on exposed port in kube backend
...
Signed-off-by: Michael Irwin <mikesir87@gmail.com>
The Compose spec doesn't provide a default value, but the code
was defaulting to TCP in the service protocol, just not in the
name. If no protocol was specified, it would cause an invalid
service name (eg, "80-")
2021-07-12 11:23:56 -04:00
Ulysses Souza
287f3156ae
Detect new containers on logs --follow
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-12 09:02:51 -03:00
Michael Irwin
8c5b970376
Fix container name used in kube log output
...
Signed-off-by: Michael Irwin <mikesir87@gmail.com>
2021-07-08 22:04:01 -04:00
Mathieu Champlon
918fe00f3e
Fix loop variable captures in goroutines
...
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-07-07 12:25:22 +02:00
Nicolas De Loof
96e1e041d6
distinguish stdout and stderr
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-02 10:53:11 +02:00
Nicolas De Loof
49e7f2d45d
Move compose v2 implementation under pkg/compose with dependencies
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De Loof
d90495e1cd
move compose API into pkg/api
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De Loof
89a63b79cb
define compose labels within the compose API
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-11 11:46:34 +02:00
Nicolas De loof
45a2c422e1
Merge pull request #1760 from ndeloof/split_writer
...
code cleanup: splitWriter does not use service/container name
2021-06-09 07:31:16 +02:00
Nicolas De loof
2edec5aa90
Merge pull request #1752 from ndeloof/up_backend
...
move up logic from CLI into local backend
2021-06-09 07:29:35 +02:00
aiordache
0d25709ada
Add port mapping to `compose ps`
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 14:48:09 +00:00
Nicolas De Loof
9d5026e966
code cleanup: splitWriter does not use service/container name
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-08 16:16:06 +02:00
aiordache
5d9d39dabd
Add port-forwarding on `compose up`
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache
d8db079af3
Add exec command
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache
7fd3c6f5cb
Port forwarding attempt
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache
bb25812511
Update existing stack installation on `compose up` instead of returning error
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
aiordache
9279954193
Check the status of pod containers on `compose up`
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00
Nicolas De Loof
c135bd1d7c
move up logic from CLI into local backend
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 20:20:31 +02:00
Nicolas De Loof
dec9169198
move progress to backend on "down"
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:41:59 +02:00
Nicolas De Loof
82f35d1bac
Move progress writter into backend(s)
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 14:16:22 +02:00
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