1
0
mirror of https://github.com/docker/compose-cli.git synced 2026-10-28 07:19:39 +03:00

14 Commits

Author SHA1 Message Date
Milas Bowman
020489241f lint: update for Go 1.19 / golangci-lint 1.50.1
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-02-01 16:04:49 -05:00
Sebastiaan van Stijn
fb71f3bc8a gofmt files with go 1.19
Prepare for future updates of Go, which may result in some changes in
formatting in GoDoc comments.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-25 12:31:30 +02:00
CrazyMax
1dce98712a Go 1.18
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-24 00:49:08 +02:00
Nicolas De Loof
bd5def8454 use docker/compose/v2
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 19:19:32 +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
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
aiordache
0d25709ada Add port mapping to compose ps
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 14:48:09 +00: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
d10600041d Add secret support
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:33:32 +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
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