Commit Graph

1356 Commits

Author SHA1 Message Date
Guillaume Lours c3bf09a986 CI update dependabot PR - Check that the pusher equal dependabot-preview[bot]
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 15:35:20 +02:00
Guillaume Lours 0ffa7fc129
Merge pull request #524 from glours/update_dependabot_pusher_name
CI update dependabot PR - Check that the pusher startWith depandabot-…
2020-08-20 15:29:53 +02:00
Nicolas De Loof 838937c907
workdir default value is defined by compose file
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-20 15:18:03 +02:00
Guillaume Lours 70b3bffaf0 CI update dependabot PR - Check that the pusher startWith depandabot-preview
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 14:41:47 +02:00
Guillaume Lours 789f556876
Merge pull request #519 from glours/update_dependabot_pr
Update dependabot PR to update go.sum file
2020-08-20 14:34:27 +02:00
Djordje Lukic 635ecd7b99 Return a default implementation when nil
Some backends can decide not to implement a whole set of APIs (compose
for example), we now return a default implementation that returns a
`errdefs.ErrNotImplemented` for each action making it easy for the cli
to print a helpful error message. We also remove any possible nil
panics.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-08-20 14:32:03 +02:00
Guillaume Lours 9e5c122f74 Update dependabot PR to update go.sum file
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 14:28:39 +02:00
Guillaume Tardif 666b859f71 Trigger tests manually with “/“ instead of “@“
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-20 12:19:43 +02:00
Guillaume Tardif 2df4112913
Merge pull request #511 from docker/ecs-e2e
First ECS E2E test
2020-08-20 10:57:23 +02:00
Anca Iordache 0d276665f2
Merge pull request #476 from docker/ecs_progress
Make ECS UX consistent with the ACI one
2020-08-20 10:18:35 +02:00
Guillaume Tardif 9b0b1129a6 Build without ecs build flag, not required anymore. Fix context create ecs command not build
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-20 10:11:23 +02:00
Guillaume Tardif d49d4473c3 Allow running ECS E2E tests locally
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-20 09:59:24 +02:00
Nicolas De loof 56979d2ba4
Merge pull request #512 from docker/warn_on_aws_context
Ask to recreate context when running on an `aws` type
2020-08-20 09:33:19 +02:00
Guillaume Tardif 3a83d85d7a First ECS E2E test
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 19:13:23 +02:00
aiordache 6657dd2774 Add error message for aws context
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 18:22:07 +02:00
aiordache 44b2b8b21d integrate functionality from ecs-plugin
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 17:49:21 +02:00
Guillaume Tardif 23bb628724
Merge pull request #518 from docker/fix_down_cmd
Add progress.Run to down cmd
2020-08-19 17:38:06 +02:00
aiordache fe0cc0d2cc Add progress.Run to down cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-19 16:19:21 +02:00
Guillaume Tardif 5cab129c10 Add E2E test on deploying ACR images
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 14:31:45 +02:00
Guillaume Tardif 04c678b099 Do not require refresh token to obtain ACR token. Especially this will make the ACR auto-login feature work with Service Principal login, that does not have a refresh token
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 14:31:35 +02:00
Guillaume Tardif 2bb5614501
Merge pull request #515 from docker/aci_login_empty
Check that AZURE creds are defined when running E2E tests
2020-08-19 13:40:09 +02:00
Nicolas De loof f5a2c4c663
Merge pull request #516 from docker/ecs-import 2020-08-19 13:33:27 +02:00
Djordje Lukic 464316d4fc
Merge pull request #507 from docker/chore-import-restrictions
Add tool to check inter-dependencies between packages
2020-08-19 12:38:14 +02:00
Djordje Lukic b41d216aaa Add import restrictions check
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-08-19 12:31:30 +02:00
Guillaume Tardif 64dd7a5674 Check that AZURE creds are defined when running E2E tests
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 11:58:02 +02:00
Nicolas De Loof 66e25937c6
Merge remote-tracking branch 'origin/main' into ecs-import
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-19 11:28:31 +02:00
Nicolas De Loof ec4615ae57
Apply linter recommendations
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-19 08:16:19 +02:00
Nicolas De Loof 0a6d7b1c6d
Reduce cyclomatic complexity
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 16:25:26 +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
Guillaume Lours c9158a7c37
Merge pull request #509 from glours/add_go_mod_check
Add a script to check if go.mod and go.sum are up-to-date
2020-08-18 15:16:46 +02:00
Guillaume Lours b4e45bf597 Add a script to check if go.mod and go.sum are up-to-date
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-18 14:57:53 +02:00
Guillaume Tardif 8e84e09bdc
Merge pull request #508 from docker/aci_container_status
Aci container status
2020-08-18 14:46:55 +02:00
Guillaume Lours 42be57927a
Merge pull request #504 from glours/add_issue_and_pr_templates
Add issue template, contributing guide and maintainers list
2020-08-18 12:48:27 +02:00
Guillaume Tardif 6ad48b9212 Updated ACI e2e flaky test to avoid failing when https://github.com/docker/desktop-microsoft/issues/49 happens
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-18 12:42:01 +02:00
Guillaume Tardif 87cee4d1e5 Returns `Node <Group_status>` when container group status is available and not container status (instead of `Unknown`)
Impacts output for ps, inspect

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-18 12:42:00 +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
Nicolas De Loof cfbd963c3d
Adjust commands to latest compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 10:01:32 +02:00
Guillaume Lours 8cfcfc8645 Add issue template, Contributing guide and maintainers list
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-18 09:53:57 +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
Djordje Lukic 7560a28db1
Merge pull request #505 from docker/dependabot/go_modules/gopkg.in/ini.v1-1.60.0
build(deps): bump gopkg.in/ini.v1 from 1.58.0 to 1.60.0
2020-08-18 09:46:23 +02:00
Guillaume Lours d286a40a21
Merge pull request #502 from glours/chek_license_header
Chek license header
2020-08-18 09:43:51 +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
Nicolas De Loof 91427d0492
introduce `Convert` in compose API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-18 08:58:37 +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
Nicolas De Loof 7715ee8e59
Import docker/ecs-plugin as ECS backend
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:29:40 +02:00
aiordache 9eb0a10517
Init progress writer in WaitStackCompletion
Signed-off-by: aiordache <anca.iordache@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:26:45 +02:00
Nicolas De Loof f74cc8f0aa
Allow user to customize Roles / ManagedPolicy
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:26:44 +02:00
Nicolas De Loof 8182c98abf
Don't pretend we know resources to be created
some resources are controlled by a CloudFormation Condition and as such
won't be created. If we add them to the progresswriter, the latter will
never receive status update.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:26:44 +02:00