Commit Graph

483 Commits

Author SHA1 Message Date
Sebastiaan van Stijn d078e30642 go.mod: pin k8s dependencies to the same version as in buildx
Buildx uses replace rules to pin these dependencies to the version
that's used in buildkit. Newer versions of these dependencies are
incompatible with some go versions, and we do not need the newer
versions for where it's used.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-28 09:09:05 +02:00
Sebastiaan van Stijn 5ace5bdeda
vendor: github.com/containerd/containerd v1.6.2
includes a fix for CVE-2022-24769 (but doesn't affect the code we use)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-24 04:13:02 +01:00
Nicolas De Loof 283f7a1ec5 Bump buildx to v0.8.0
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2022-03-11 14:05:55 +01:00
dependabot[bot] 2cf917a330 Bump github.com/spf13/cobra from 1.3.0 to 1.4.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 13:01:21 +01:00
Sebastiaan van Stijn b9b3a3d91f docs: update cli-docs-tool to v0.4.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-09 14:40:35 +01:00
dependabot[bot] bf5785307b Bump github.com/containerd/containerd from 1.6.0 to 1.6.1
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 14:13:39 +01:00
Ulysses Souza 315f16e5fb Bump docker/distribution -> v2.8.0
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2022-03-01 16:08:48 +01:00
Ulysses Souza 16914e372e Bump compose-go 1.1.0
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2022-03-01 15:52:14 +01:00
dependabot[bot] f7a6c3bc54 Bump github.com/containerd/containerd from 1.5.8 to 1.6.0
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.8 to 1.6.0.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.8...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 13:37:56 +01:00
Nicolas De Loof 981aea674d bump buildx to 0.7.1
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2022-02-21 14:28:22 +01:00
Guillaume Lours 598b59f8bf
Merge pull request #9142 from thaJeztah/update_goterm
go.mod: github.com/buger/goterm v1.0.4
2022-02-08 12:28:18 +01:00
Ulysses Souza a89e194558 Bump compose-go 1.0.9
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2022-02-04 14:47:16 +01:00
Sebastiaan van Stijn b31695a66e
go.mod: github.com/buger/goterm v1.0.4
Version v1.0.4 was released, containing a fix for a regression in
v1.0.3, so the previous downgrade can be reverted, and we can go
back to the latest version:
https://github.com/buger/goterm/compare/v1.0.3...v1.0.4

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-02-03 21:33:39 +01:00
Ulysses Souza 6dc6bedb60 Downgrade goterm to 1.0.1
This is to avoid a release error:
https://github.com/docker/compose/runs/4701103662?check_suite_focus=true

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2022-01-04 14:54:16 +01:00
Tymoteusz Blazejczyk 340b5482b0 Changed to the official compose-spec/compose-go
Changes were merged. Updated the `replace` directive in the `go.mod`
file to the latest official package.

Signed-off-by: Tymoteusz Blazejczyk <tymoteusz.blazejczyk@tymonx.com>
2022-01-03 08:04:34 +01:00
Tymoteusz Blazejczyk faaa93bf12 Added volume bind option SELinux label :z :Z
Added unsupported volume bind option SELinux label `:z` and `:Z` in v2.

It is a regression compared to v1 written in Python.

The v2 uses the compose-spec/compose-go to parse Compose YAML
specification files but there was missing support for volume bind option
SELinux label `:z` and `:Z` in parser. It is fixed in:

- https://github.com/compose-spec/compose-go/pull/213

It fixes #9072

References:

- https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label

Signed-off-by: Tymoteusz Blazejczyk <tymoteusz.blazejczyk@tymonx.com>
2022-01-03 08:04:34 +01:00
dependabot[bot] 381df20010 Bump github.com/AlecAivazis/survey/v2 from 2.2.3 to 2.3.2
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.2.3 to 2.3.2.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.2.3...v2.3.2)

---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 15:19:03 +01:00
dependabot[bot] a9e8164a8d Bump github.com/containerd/console from 1.0.2 to 1.0.3
Bumps [github.com/containerd/console](https://github.com/containerd/console) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/containerd/console/releases)
- [Commits](https://github.com/containerd/console/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/containerd/console
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 15:09:03 +01:00
dependabot[bot] a108690ac2 Bump github.com/buger/goterm from 1.0.0 to 1.0.3
Bumps [github.com/buger/goterm](https://github.com/buger/goterm) from 1.0.0 to 1.0.3.
- [Release notes](https://github.com/buger/goterm/releases)
- [Commits](https://github.com/buger/goterm/compare/v1.0.0...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/buger/goterm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 14:59:02 +01:00
dependabot[bot] 0e81d1c88e Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
Bumps [github.com/hashicorp/go-multierror](https://github.com/hashicorp/go-multierror) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/hashicorp/go-multierror/releases)
- [Commits](https://github.com/hashicorp/go-multierror/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-multierror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 07:39:21 +01:00
dependabot[bot] 22002531d8 Bump github.com/spf13/cobra from 1.2.1 to 1.3.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 06:24:57 +01:00
dependabot[bot] b66ff0c3d8 Bump github.com/golang/mock from 1.5.0 to 1.6.0
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/golang/mock/releases)
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml)
- [Commits](https://github.com/golang/mock/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/golang/mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 06:24:35 +01:00
Ulysses Souza e2f33af831 Merge and fix Convert function from `docker/compose-switch`
This also removes the vendoring of the repo
Note that it fixes the problem of double "compose" on calling
the compose plugin with "docker" root flags.
Like in "docker --context default compose version"

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-12-03 12:17:17 +01:00
Guillaume Lours 19b9fdf536 upgrade version of opencontainers/image-spec (security issue)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2021-12-03 12:16:14 +01:00
Mathieu Champlon 28a00571ef Bump compose-go to v1.0.8
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-11-23 11:05:26 +01:00
Mathieu Champlon 5754d6084c Bump compose-go to v1.0.7
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-11-22 18:13:07 +01:00
Guillaume Lours ba724576a1
upgrade containerd version - security fix
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2021-11-17 23:45:06 +01:00
Ulysses Souza c756ff3d3e Bump compose-go to v1.0.5
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-11-03 00:38:05 +01:00
Ulysses Souza 058c779378 Add support for classic builder
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-11-02 10:56:03 +01:00
Nicolas De Loof d38f278f68
add support for EnableIPv6
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-10-28 19:32:04 +02:00
Ulysses Souza 94379769e3 Make service>build>dockerfile a simple filename
- It makes it keep a simple filename instead of an absolute path

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-10-20 10:24:08 +02:00
Ulysses Souza 8bba863935 Bump compose-go 1.0.2
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-30 17:23:37 +02:00
Nicolas De Loof 1faa76ee4e
use compose-switch Convert
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-30 09:15:56 +02:00
Ulysses Souza 436c588793 Bump containerd 1.5.5
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-28 20:10:38 +02:00
Nicolas De Loof 7c47673d4a
bump compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-28 12:16:19 +02:00
Nicolas De Loof a2947457b9
get scale from deploy.replicas. Require scale normalization
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-15 14:02:01 +02:00
Sebastiaan van Stijn 3678deed14 [v2] use "docker/cli-docs-tool" to generate docs
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-13 21:54:26 +02:00
Nicolas De Loof 010776f6db introduce --resolve-paths and restore compose v1 behavior
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-06 17:05:13 +02:00
Nicolas De Loof 1bd21aede5
bump compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-01 11:06:23 +02:00
Nicolas De Loof 1ae9b3cb5d
move compose-cli code into docker/compose/v2
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 19:09:19 +02:00
Ulysses Souza fedd20bab3 Bump compose-go
This fixes https://github.com/docker/compose-cli/issues/2017

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-08-26 10:10:18 -03:00
Ulysses Souza 4b642a494a Bump compose-go
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-08-24 16:38:48 -03:00
Lorena Rangel 2094c6784c Bump compose-go
Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2021-08-09 20:03:24 +02:00
Ulysses Souza 28fe228fb6
Merge pull request #1954 from docker/dependabot/go_modules/github.com/containerd/containerd-1.5.4
Bump github.com/containerd/containerd from 1.5.0 to 1.5.4
2021-08-02 08:45:07 -07:00
dependabot[bot] 8b8e5218c3
Bump github.com/containerd/containerd from 1.5.0 to 1.5.4
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.0 to 1.5.4.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.0...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 21:40:35 +00:00
Nicolas De Loof 12c2b470bc
stop using helm fork for oras dependency conflict
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-22 17:48:49 +02:00
Nicolas De Loof afc9cf8018
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-22 17:22:51 +02:00
Ulysses Souza 43c4db439e Fix dotEnv load path precedence by compose-go bump
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-16 11:03:14 -03:00
Ulysses Souza f4947b68e5 Bump compose-go
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-08 18:37:25 -03:00
Nicolas De Loof 41d5eb45b1
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-02 15:02:41 +02:00
Nicolas De Loof fc087a9e1d update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-02 13:34:27 +02:00
Nicolas De Loof d8d739307e test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-24 10:11:01 +02:00
Sebastiaan van Stijn 5dbfcfd820
go.mod: update moby/term and Azure/go-ansiterm
Fixes an integer overflow when building on 32 bit windows/arm

- 9d4ed18562...3f7ff695ad
- 43e1dd70ce...59db8d763f

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-21 14:24:52 +02:00
Nicolas De Loof 37b62309af
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-17 12:22:41 +02:00
Nicolas De Loof df9fa2d2d8
better interoperability with docker-compose on version label
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-16 14:40:33 +02:00
Nicolas De Loof 07357928d0
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 16:40:36 +02:00
Sebastiaan van Stijn c6c3e7111a
go.mod: update moby/term to fix Invalid Standard Handle Panic on Windows
Changes:

- winterm: GetStdFile(): Added compatibility with "golang.org/x/sys/windows"
- winterm: fix GetStdFile() falltrough
- update deprecation message to refer to the correct replacement

full diff:

- bea5bbe245...9d4ed18562
- d6e3b3328b...2377c96fe7

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-10 14:54:23 +02:00
Nicolas De Loof cb144ab09a
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:42:24 +02:00
Sebastiaan van Stijn abffcdd082
go.mod: update docker and cli to v20.10.7
- diff: https://github.com/docker/docker/compare/v20.10.5...v20.10.7
- diff: https://github.com/docker/cli/compare/v20.10.6...v20.10.7

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-07 12:28:23 +02:00
Nicolas De Loof 17113dfcd3
update compose-go dependency
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-31 18:09:34 +02:00
Nicolas De Loof de85b0624b
support compose file set by COMPOSE_FILE env var
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-20 15:41:41 +02:00
Nicolas De Loof e0ae9d21b4
pass authprovider to buildkit session in addition to driver's Auth parameter
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-07 11:49:20 +02:00
Guillaume Tardif 416af599aa Fix building compose files with absolute build context / Dockerfile
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-05 16:58:50 +02:00
Nicolas De Loof 4186cce1dd
use highest priority network to declare network aliasses
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-03 16:01:10 +02:00
Nicolas De Loof b33588b725
when bind mount has CreateHostPath set, use bind API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-27 17:03:16 +02:00
Nicolas De Loof 92c9be5f87
load override sibling compose file when auto-discovered from parent dir
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-26 14:41:06 +02:00
Guillaume Tardif cc0423df6e Fix down not working if run from a different folder than up, because container labels stored relative paths
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 16:19:31 +02:00
Nicolas De Loof c83c46293f
fix race: poll for service completion. Using waitContainer might happend after container exit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 08:51:25 +02:00
Nicolas De Loof 076f15c254
configure container limits and resources
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-12 15:46:18 +02:00
Guillaume Tardif 85393db2fb Update go term lib with windows support to get terminal size
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-02 13:29:46 +02:00
Nicolas De Loof 15b56b3e8d
--no-interpolate
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-22 10:01:34 +01:00
Nicolas De Loof 89b8f9b867
bump compose-go
fixes #1430

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-16 13:47:51 +01:00
Guillaume Tardif 9301c298ef
Merge pull request #1390 from ulyssessouza/quiet-pull
Add `quietPull` option to `up`
2021-03-11 09:09:55 +01:00
Ulysses Souza aa4d15d28c Add `quietPull` option to `up`
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-10 11:43:53 -03:00
Ulysses Souza bee7336927 Bump compose-go to fix struct merges
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-06 15:44:49 -03:00
Nicolas De Loof 08e4222fbb
introduce --build-args option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-03 16:44:53 +01:00
Guillaume Tardif fa3a08e4fc Check scan plugin is available before suggesting to use it
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-25 09:25:49 +01:00
Ulysses Souza 83cc63c8ae Add service based network_mode
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-23 10:13:31 -03:00
Chris Crone 931767b22d deps: Replace docker/distribution for distribution/distribution
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-02-18 18:24:52 +01:00
Nicolas De Loof 0e862eeaa7
introduce --resolve-image-digests on config command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-18 14:48:28 +01:00
Nicolas De Loof d9fe745cc0
avoid use of channels in API for gRPC compatibility
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-11 09:34:08 +01:00
Nicolas De Loof b1f864a6f8
Introduce --profile option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 13:51:22 +01:00
Ulysses Souza a3e81be6ea Bump compose-go for absolute paths fix
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-29 10:24:41 -03:00
aiordache 50792c4621 Add Kubernetes backend
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +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
Guillaume Tardif 8ab3149f45 Network names and volume names don’t need anymore to be re-adapted (and prefixed with project name) after loaded from compose-go
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-14 10:07:29 +01:00
Nicolas De Loof 5c4a940de2
add support for overlays on generated cloudformation template
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-11 17:20:57 +01:00
Nicolas De Loof e17accab49
Resolve service image by digest before deploying to ECS
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-11 16:39:08 +01:00
aiordache 31e40176da Add GPU support via DeviceRequests
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-07 10:00:19 +01:00
Chris Crone 65561c085a deps: Bump docker and buildx vendoring
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-16 10:57:42 +01:00
Chris Crone 6e76aadfd6 deps: Bump buildx and docker vendoring
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-11 10:40:09 +01:00
Guillaume Tardif cf378834e5 No rebuild on compose up if image already exists by default, added first use of compose pull_policy and `compose up --build` to allow to force rebuild.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2020-12-10 18:38:16 +01:00
Guillaume Tardif df9c96430c Allow anonymous volumes
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2020-12-08 17:44:55 +01:00
Guillaume Tardif 4270f383a7
Merge pull request #988 from docker/feat-platform
Add platform when running containers
2020-12-02 13:24:07 +01:00
Nicolas De Loof 52574046f0
introduce `compose push` command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-12-01 14:55:52 +01:00
Djordje Lukic 1148ed8837 Add platform when running containers
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-11-30 11:51:46 +01:00
Guillaume Tardif 3c073b51a2 Latest compose-go, keeping “-“ in project names derived from workingDir
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-27 09:13:05 +01:00
Guillaume Tardif de3b6cb450 Add compose labels for composefiles
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-26 17:13:24 +00:00
Nicolas De Loof 0f4bcb9f17
Build and pull in parallel with BuildKit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-26 14:11:40 +01:00
Nicolas De Loof a0b609a5dd
implement service image build by BuildKit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-26 14:07:53 +01:00
Ulysses Souza fe566d24e6 Bump `azure-sdk-for-go`: v43.3.0 -> v48.2.0
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-24 11:48:26 -03:00
Chris Crone 03e95839c8 deps: Update Go modules, remove duplicate
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-23 15:03:03 +01:00
Nicolas De Loof 46cbb908fe
Target docker/docker 19.03 branch (api 1.40)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-17 13:28:58 +01:00
Djordje Lukic b0ee6d285a
Update docker/docker to be able to run this on a Mac, use goroutines when starting a stack
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-11-17 11:31:13 +01:00
Nicolas De Loof 9fdf69ea9c
Handle container (re)create/(re)start on compose up
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-17 11:29:12 +01:00
Nicolas De Loof 7944a1b94f
implement image pull on `compose up` with progress
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-17 11:28:49 +01:00
Nicolas De Loof efd0f2b9ec
Add support for gpu devices reservation
Adopt https://github.com/compose-spec/compose-spec/pull/100

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-16 14:24:25 +01:00
Nicolas De Loof 3f184f7552
store cloudformation template on s3 to workaround API limit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-10 08:40:02 +01:00
Ulysses Souza f6509ac814 Add Healthchecks to ACI
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-06 12:21:12 +01:00
Nicolas De loof f66123b34a
Merge pull request #846 from docker/ecs_context 2020-11-03 11:38:06 +01:00
Nicolas De Loof af7aebf8cf
Make newcomer experience smooth
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-03 10:49:28 +01:00
Guillaume Tardif 3b6bfdd5b1 Display ecs status in CamelCase in order to have homogeneous output between backends.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-02 13:08:54 +01:00
Chris Crone c8b8a9f767 deps: Bump
Build:
* Golang 1.15.2 to 1.15.3
* golangci-lint 1.31.0 to 1.32.0
* protoc-gen-go 1.4.1 to 1.4.3

All direct Go dependencies except Azure/azure-sdk-for-go which required
code changes.

Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-10-27 14:09:38 +01:00
Guillaume Tardif c6ac64d66a Remove indirect dependency causing error on Darwin build. Adding cross compile in CI build (all PRs)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-13 17:11:37 +02:00
Nicolas De Loof 5d5765173e
Create volume for compose app
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-13 14:18:01 +02:00
Nicolas De Loof 432ce79e2c
More unig tests with aws-sdk behind an interface + mocks
Fix use of existing SecurityGroup

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-12 16:51:05 +02:00
Guillaume Tardif 9ad06e55b5 E2e test on metrics
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-07 10:11:46 +02:00
Guillaume Tardif 9cc914ef07 No need for docker dependency for CopyDir, and yaml parser.
No need for multiport compose file with volumes

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-06 17:54:26 +02:00
Ulysses Souza f8a3aec64d Add aci volumes e2e test
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-06 17:22:57 +02:00
Ulysses Souza 0f6f547214 Refactor Print method for lists
This also fixes in the case of nil list

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Chris Crone 201a37581f deps: Bump modules
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-23 19:06:45 +02:00
Nicolas De Loof 30de56f64f
Introduce support for external EFS volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-15 13:03:53 +02:00
Nicolas De Loof 1506c7ac9b
create ALB is protocol is set to "http" or "https"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-07 12:24:48 +02:00
Nicolas De Loof c1ecb2b7be
Check we have compose 1.27 or later
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-31 10:01:53 +02:00
Nicolas De Loof 7f8bb030e6
Introduce ECS emulation mode
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-31 10:01:52 +02:00
CI GitHub Action a15679fb94 Update go.sum after dependabot PR
Signed-off-by: CI GitHub Action <compose-cli-ci@docker.com>
2020-08-24 21:28:34 +00:00
dependabot-preview[bot] 2fafa23736
build(deps): bump gopkg.in/ini.v1 from 1.60.0 to 1.60.1
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini) from 1.60.0 to 1.60.1.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.60.0...v1.60.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 21:28:02 +00:00
Guillaume Tardif 48c8478f23 Revert "build(deps): bump github.com/awslabs/goformation/v4"
This reverts commit 36f3b5cf5c.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 12:31:00 +02:00
Guillaume Tardif 872e900b35 Revert "Update go.sum after dependabot PR"
This reverts commit 43853c5ea0.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-21 12:30:38 +02:00
CI GitHub Action 43853c5ea0 Update go.sum after dependabot PR
Signed-off-by: CI GitHub Action <compose-cli-ci@docker.com>
2020-08-21 10:01:44 +00:00
dependabot-preview[bot] 36f3b5cf5c
build(deps): bump github.com/awslabs/goformation/v4
Bumps [github.com/awslabs/goformation/v4](https://github.com/awslabs/goformation) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/awslabs/goformation/releases)
- [Changelog](https://github.com/awslabs/goformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/awslabs/goformation/compare/v4.14.0...v4.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-21 10:01:13 +00:00
Guillaume Tardif 38f5f8b0ef
Merge pull request #527 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.34.8
build(deps): bump github.com/aws/aws-sdk-go from 1.34.6 to 1.34.8
2020-08-21 11:26:44 +02:00
CI GitHub Action 491adb5d2c Update go.sum after dependabot PR
Signed-off-by: CI GitHub Action <compose-cli-ci@docker.com>
2020-08-20 13:56:45 +00:00
dependabot-preview[bot] 7c0c87fb56
build(deps): bump github.com/Azure/go-autorest/autorest
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.3...autorest/v0.11.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-20 13:56:05 +00:00
CI GitHub Action c2c51de95a Update go.sum after dependabot PR
Signed-off-by: CI GitHub Action <compose-cli-ci@docker.com>
2020-08-20 13:55:15 +00:00
dependabot-preview[bot] d019924e57
build(deps): bump github.com/aws/aws-sdk-go from 1.34.6 to 1.34.8
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.6 to 1.34.8.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.6...v1.34.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-20 13:54:39 +00:00
aiordache 44b2b8b21d integrate functionality from ecs-plugin
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 17:49:21 +02:00
Nicolas De Loof 55a21122d0
Copytight header
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 15:34:40 +02:00
Nicolas De Loof 2791542fea
Merge remote-tracking branch 'origin/main' into ecs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 10:36:17 +02:00
Djordje Lukic c1fbf996a3
Merge pull request #506 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.34.6
build(deps): bump github.com/aws/aws-sdk-go from 1.34.2 to 1.34.6
2020-08-18 09:46:39 +02:00
Nicolas De Loof 6e6a11aa73
Introduce Secrets API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 09:43:15 +02:00
dependabot-preview[bot] 85ff0b053f
build(deps): bump github.com/aws/aws-sdk-go from 1.34.2 to 1.34.6
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.2 to 1.34.6.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.2...v1.34.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 21:27:19 +00:00
dependabot-preview[bot] 737a905f1d
build(deps): bump gopkg.in/ini.v1 from 1.58.0 to 1.60.0
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini) from 1.58.0 to 1.60.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.58.0...v1.60.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 21:26:43 +00:00
Nicolas De Loof e02d8d549b
Make ECS integration a compose-cli backend
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:30:49 +02:00
Guillaume Tardif e2421ad9a4
Merge pull request #480 from docker/dependabot/go_modules/gopkg.in/ini.v1-1.58.0
build(deps): bump gopkg.in/ini.v1 from 1.57.0 to 1.58.0
2020-08-17 10:02:53 +02:00
dependabot-preview[bot] 080950b36c
build(deps): bump gopkg.in/ini.v1 from 1.57.0 to 1.58.0
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini) from 1.57.0 to 1.58.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.57.0...v1.58.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-13 21:32:38 +00:00
dependabot-preview[bot] 15377d83cd
build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/tracing/v0.5.0...autorest/azure/auth/v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-13 21:32:08 +00:00
Guillaume Tardif ba6e5e9098
Merge pull request #462 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.34.2
build(deps): bump github.com/aws/aws-sdk-go from 1.33.21 to 1.34.2
2020-08-12 09:31:24 +02:00
dependabot-preview[bot] e5066f9ede
build(deps): bump github.com/aws/aws-sdk-go from 1.33.21 to 1.34.2
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.21 to 1.34.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.33.21...v1.34.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 21:23:28 +00:00
dependabot-preview[bot] 57ca78fb3a
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.1.0 to 2.1.1
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 16:37:17 +00:00
Chris Crone 017053e19a tests.e2e: Refactor
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-10 14:12:46 +02:00
dependabot-preview[bot] 4360cf67ce
build(deps): bump github.com/Azure/go-autorest/autorest/adal
Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.9.0...autorest/v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 21:31:16 +00:00
dependabot-preview[bot] ec80447e57
build(deps): bump github.com/aws/aws-sdk-go from 1.33.20 to 1.33.21
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.20 to 1.33.21.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.33.20...v1.33.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-06 21:33:37 +00:00
dependabot-preview[bot] ae8c3c0faf
build(deps): bump github.com/Azure/go-autorest/autorest
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.2...autorest/v0.11.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-06 15:49:33 +00:00
dependabot-preview[bot] 759740e9d6
build(deps): bump github.com/aws/aws-sdk-go from 1.33.19 to 1.33.20
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.19 to 1.33.20.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.33.19...v1.33.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 21:28:58 +00:00
Guillaume Tardif e0f8289f1c
Merge pull request #424 from docker/dependabot/go_modules/github.com/google/go-cmp-0.5.1
build(deps): bump github.com/google/go-cmp from 0.5.0 to 0.5.1
2020-08-05 10:31:24 +02:00
dependabot-preview[bot] 619f3b59ca
build(deps): bump github.com/aws/aws-sdk-go from 1.33.18 to 1.33.19
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.18 to 1.33.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.33.18...v1.33.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 21:27:18 +00:00
dependabot-preview[bot] 1874a2bd97
build(deps): bump github.com/google/go-cmp from 0.5.0 to 0.5.1
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 21:26:46 +00:00
Djordje Lukic 7193efeb92 go mod tidy 2020-08-04 14:29:09 +02:00
dependabot-preview[bot] 2ff3bbdce2
Bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.18
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.5 to 1.33.18.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.33.5...v1.33.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 07:42:28 +00:00
Djordje Lukic df29f5dcec
Merge pull request #413 from docker/dependabot/go_modules/github.com/AlecAivazis/survey/v2-2.1.0
Bump github.com/AlecAivazis/survey/v2 from 2.0.8 to 2.1.0
2020-08-04 09:34:46 +02:00
dependabot-preview[bot] 8212c15adf
Bump github.com/AlecAivazis/survey/v2 from 2.0.8 to 2.1.0
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.0.8 to 2.1.0.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.0.8...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 21:32:17 +00:00
dependabot-preview[bot] 9c600a5436
Bump google.golang.org/grpc from 1.30.0 to 1.31.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.30.0...v1.31.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 21:31:19 +00:00
aiordache 2471e51b39 set build tag for the ecs context and backend
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-30 11:34:34 +02:00
aiordache fb63373a9b remove cluster property from aws context
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-30 11:34:34 +02:00
aiordache 355295696f Create aws context
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-30 11:34:34 +02:00
dependabot-preview[bot] 6002fcc6b9
Bump github.com/Azure/go-autorest/autorest from 0.11.0 to 0.11.2
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.0 to 0.11.2.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.0...autorest/v0.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 21:24:57 +00:00
dependabot-preview[bot] 1fe5bf9b60
Bump github.com/AlecAivazis/survey/v2 from 2.0.7 to 2.0.8
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.0.7...v2.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 21:25:13 +00:00
Guillaume Tardif 2e867f40d7
Merge pull request #355 from docker/fix_windows_login
Fix windows login
2020-07-07 11:29:39 +02:00
guillaume.tardif 1d8e0ef9e6 Revert "Return an error if unable to open the browser"
This reverts commit e22b0ba676.
2020-07-07 09:19:06 +02:00
Guillaume Tardif e4c1a1f945 Fix `docker compose up` with default project name being derived from current working dir. has been fixed upstream in compose-go (see https://github.com/compose-spec/compose-go/pull/56) 2020-07-06 16:56:30 +02:00
Guillaume Tardif 3c83e01e9c
Merge pull request #327 from docker/compose-go
Use compose-go's Project and ProjectOptions
2020-07-02 16:43:34 +02:00
Nicolas De Loof 622402709a
Use compose-go's Project and ProjectOptions
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-07-02 16:05:45 +02:00
dependabot-preview[bot] 5462d38969
Bump github.com/Azure/azure-storage-file-go from 0.7.0 to 0.8.0
Bumps [github.com/Azure/azure-storage-file-go](https://github.com/Azure/azure-storage-file-go) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/Azure/azure-storage-file-go/releases)
- [Changelog](https://github.com/Azure/azure-storage-file-go/blob/master/ChangeLog.md)
- [Commits](https://github.com/Azure/azure-storage-file-go/compare/v0.7.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 21:27:44 +00:00
Djordje Lukic e22b0ba676 Return an error if unable to open the browser
Also use github.com/pkg/browser instead of our own code
2020-07-01 16:47:49 +02:00
Guillaume Tardif eda438aaed Added basic support for service principal login, run ACI e2e tests with it 2020-06-29 20:35:23 +02:00
Ulysses Souza 1deb2b8b09 Integrate limits on inspect
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-29 10:32:28 +02:00
dependabot-preview[bot] d2178c4219
Bump github.com/containerd/containerd from 1.3.4 to 1.3.5
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/master/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.3.4...v1.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-26 21:25:58 +00:00
Djordje Lukic 4262a8f719 Update protobuf tp 1.25.0 2020-06-26 10:58:31 +02:00
dependabot-preview[bot] 952b0aae19
Bump github.com/Azure/go-autorest/autorest/to from 0.3.0 to 0.4.0
Bumps [github.com/Azure/go-autorest/autorest/to](https://github.com/Azure/go-autorest) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/tracing/v0.3.0...tracing/v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-26 08:42:59 +00:00
dependabot-preview[bot] 5e1957db65
Bump github.com/Azure/go-autorest/autorest/azure/cli from 0.3.1 to 0.4.0
Bumps [github.com/Azure/go-autorest/autorest/azure/cli](https://github.com/Azure/go-autorest) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/azure/cli/v0.3.1...tracing/v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-26 08:37:01 +00:00
dependabot-preview[bot] 4b53950979
Bump github.com/Azure/go-autorest/autorest from 0.10.2 to 0.11.0
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.10.2...autorest/v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-26 08:31:09 +00:00
Djordje Lukic 1853ed58fb
Merge pull request #273 from docker/dependabot/go_modules/github.com/Azure/go-autorest/autorest/adal-0.9.0
Bump github.com/Azure/go-autorest/autorest/adal from 0.8.3 to 0.9.0
2020-06-26 10:27:11 +02:00
dependabot-preview[bot] 8881eca3ce
Bump github.com/Azure/go-autorest/autorest/adal from 0.8.3 to 0.9.0
Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest) from 0.8.3 to 0.9.0.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/adal/v0.8.3...autorest/v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 21:25:28 +00:00
dependabot-preview[bot] ab5677779c
Bump google.golang.org/grpc from 1.29.1 to 1.30.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.29.1...v1.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 21:26:04 +00:00
dependabot-preview[bot] 77b0e27ab5
Bump github.com/Azure/azure-sdk-for-go
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 43.2.0+incompatible to 43.3.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v43.2.0...v43.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-19 21:27:19 +00:00
Djordje Lukic b55267739a Azure backend reports progress 2020-06-18 11:01:33 +02:00
Djordje Lukic d0e48a25aa Implement a progress writer 2020-06-18 11:01:00 +02:00
dependabot-preview[bot] 7d04c343e3
Bump github.com/Azure/azure-sdk-for-go
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 43.1.0+incompatible to 43.2.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v43.1.0...v43.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 12:57:18 +00:00
Ulysses Souza 1039c5ed94 Add tests on inspect
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-15 17:20:37 +02:00
Ulysses Souza 96bc1ca6f1 Add inspect command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-15 15:08:04 +02:00
dependabot-preview[bot] fa5b3b2291
Bump github.com/onsi/gomega from 1.9.0 to 1.10.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.9.0 to 1.10.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.9.0...v1.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 09:07:30 +00:00
Djordje Lukic f236c5fa45
Merge pull request #193 from docker/dependabot/go_modules/github.com/Azure/go-autorest/autorest/adal-0.8.3
Bump github.com/Azure/go-autorest/autorest/adal from 0.8.2 to 0.8.3
2020-06-10 02:03:45 -07:00
Djordje Lukic 8400795caf Add the store to the gRPC context
The contexts service needs it
2020-06-09 12:11:59 +02:00
dependabot-preview[bot] 4b9bdd0e4b
Bump github.com/Azure/go-autorest/autorest/adal from 0.8.2 to 0.8.3
Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/adal/v0.8.2...autorest/adal/v0.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 07:59:55 +00:00
dependabot-preview[bot] 63bdcad79e
Bump github.com/stretchr/testify from 1.5.1 to 1.6.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 21:26:19 +00:00
Djordje Lukic 31a0716c87 Use stdcopy if the container doesn't have a tty 2020-06-08 08:46:30 +02:00
dependabot-preview[bot] b6f8d9cd80
Bump github.com/Azure/azure-sdk-for-go
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 42.0.0+incompatible to 42.3.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v42.0.0...v42.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-06 21:49:23 +00:00
dependabot-preview[bot] 5951db58c1
Bump google.golang.org/protobuf from 1.22.0 to 1.24.0
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.22.0 to 1.24.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.22.0...v1.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-06 21:41:25 +00:00
Djordje Lukic bd198c741e
Merge pull request #186 from docker/dependabot/go_modules/github.com/golang/protobuf-1.4.2
Bump github.com/golang/protobuf from 1.4.1 to 1.4.2
2020-06-06 14:38:02 -07:00
Djordje Lukic c57cc28f29
Merge pull request #187 from docker/dependabot/go_modules/github.com/opencontainers/go-digest-1.0.0
Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0
2020-06-06 14:37:49 -07:00
dependabot-preview[bot] 5bb15bbf58
Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0
Bumps [github.com/opencontainers/go-digest](https://github.com/opencontainers/go-digest) from 1.0.0-rc1 to 1.0.0.
- [Release notes](https://github.com/opencontainers/go-digest/releases)
- [Commits](https://github.com/opencontainers/go-digest/compare/v1.0.0-rc1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-06 21:23:14 +00:00
dependabot-preview[bot] cd711e5f6b
Bump github.com/golang/protobuf from 1.4.1 to 1.4.2
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-06 21:22:53 +00:00
dependabot-preview[bot] 3774557392
Bump github.com/Azure/go-autorest/autorest from 0.10.0 to 0.10.2
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.10.0...autorest/v0.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-06 21:21:36 +00:00
Guillaume Tardif e77513c1c8
Merge pull request #165 from docker/azure_private_images
Allow pulling private images from hub or other registries
2020-06-04 15:43:42 +02:00
Guillaume Tardif 5675763856 Interactive context create, adding method CreateContextData to CloudService interface, so Cloud Backends can provide a custom context creation method. 2020-06-02 16:04:08 +02:00
Guillaume Tardif 11f1c057dc Allow pulling private images from hub or other registries, as long as the user is logged in against the registry(ies).
Registry creds are passed along with the ACI payload (cf https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-aci). 
Manually tested against hub & ACR private repo
2020-06-02 15:56:24 +02:00
Djordje Lukic 5945e6a56c Implement gRPC logging 2020-05-22 10:16:04 +02:00
Djordje Lukic 95e07a2134 Add default context to the context ls output 2020-05-20 18:39:10 +02:00
Christopher Crone 57404a2663 Tidy Go modules
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-20 15:57:28 +02:00
Ulysses Souza d28e5fd742 Add e2e-aci tests for volumes
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-20 10:13:08 +02:00
Djordje Lukic b854cf2114 go mod tidy 2020-05-18 15:09:14 +02:00
Djordje Lukic fcb4b606e2 Add labels to containers on run 2020-05-18 13:54:03 +02:00
Djordje Lukic d8a38afecc Implement printing published ports 2020-05-16 10:41:35 +02:00
Guillaume Tardif 69f10fe80c Extract interface / types to allow unit tests / mock 2020-05-15 10:15:56 +02:00
Guillaume Tardif 1e19d977e0 Initial functional login command : added Cloud API with generic Login() 2020-05-15 10:04:22 +02:00
Guillaume Tardif 4e7645aae2
Merge pull request #42 from rumpl/moby
Moby
2020-05-12 13:46:26 +02:00
Guillaume Tardif 102116315a
Merge pull request #79 from chris-crone/context-rm
Add context rm command
2020-05-12 13:19:08 +02:00
Christopher Crone 1d3ffc0254 Add context rm command
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-12 12:24:43 +02:00
Djordje Lukic fe1772b84a Moby backend 2020-05-11 15:49:03 +02:00
Djordje Lukic dd53eeea90 Upgrade logrus to 1.6.0 2020-05-07 17:20:24 +02:00
Christopher Crone 07569bffa9 Use friendly random name generator
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-05-05 18:14:43 +02:00
Guillaume Tardif 35c5073cc0 First e2e tests running locally (with example backend) 2020-05-05 14:40:30 +02:00
Djordje Lukic afca3e31b5 Implement exec command 2020-05-04 12:43:32 +02:00
Djordje Lukic 3d363643ad Implement simple ACI run 2020-05-04 11:35:11 +02:00
Djordje Lukic a307952dab Tidy go mods, remove urfave/cli 2020-04-30 18:12:53 +02:00
Djordje Lukic f4bde8cb89 Multiple backend for the cli
* implement a little azure backend
* implement an example backend
* use the right backend from the context
2020-04-30 11:01:04 +02:00
Djordje Lukic 756836ffab Use testify/suite and testify/require 2020-04-27 11:45:23 +02:00
Djordje Lukic e2c7370a82 Implement context list 2020-04-26 22:07:50 +02:00
Djordje Lukic 3bb4fe163c Add `docker context create` command
This creates a context with a name and a type
2020-04-26 19:42:20 +02:00
Guillaume Lours 8db55e8c5c Use v2 of urfave/cli
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-23 09:43:53 +02:00
Djordje Lukic 6bfeda054b Go mods initialized, protos without gogo 2020-04-21 15:07:41 +02:00
Djordje Lukic 3a5fd3bb07 Use go mod 2020-04-21 14:13:48 +02:00