Commit Graph

155 Commits

Author SHA1 Message Date
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