746 Commits

Author SHA1 Message Date
Guillaume Tardif
7185a0ecae
Merge pull request #425 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.33.19
build(deps): bump github.com/aws/aws-sdk-go from 1.33.18 to 1.33.19
2020-08-05 10:29:29 +02:00
Guillaume Tardif
63fda614b9
Merge pull request #414 from docker/restart_policy_single
Restart policy single container
2020-08-05 10:27:29 +02:00
Guillaume Tardif
bc920b2e54 Add restartPolicyCondition to gRPC protos (run & inspect) 2020-08-05 10:05:00 +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
Guillaume Tardif
f442eafe0b Validate run restart option value. Default value is “none”, instead of “no”, this is more in line with compose values, and changes only the default so should not have too much impact on legacy usage. 2020-08-04 17:11:21 +02:00
Ulysses Souza
a2c2d6aa5d Add Restart Policy support when running single container 2020-08-04 16:57:58 +02:00
Chris Crone
2c4be4f7e3
Merge pull request #422 from docker/sort-ports
Sort parsed ports
2020-08-04 16:35:39 +02:00
Chris Crone
0e92fd21d0 cli.options: Do not test port list order
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-04 16:31:02 +02:00
Chris Crone
544f24f3dd
Merge pull request #421 from docker/chore-tidy
go mod tidy
2020-08-04 14:48:29 +02:00
Djordje Lukic
7193efeb92 go mod tidy 2020-08-04 14:29:09 +02:00
Chris Crone
40aec033e8
Merge pull request #417 from chris-crone/config-test-framework
Move config package to gotest.tools
2020-08-04 14:16:52 +02:00
Chris Crone
00d8808723
Merge pull request #416 from chris-crone/context-test-framework
Move context package to gotest.tools
2020-08-04 14:16:35 +02:00
Chris Crone
cbfa270f2f
Merge pull request #418 from chris-crone/errdefs-tests
Move errdefs package to gotest.tools
2020-08-04 14:16:11 +02:00
Chris Crone
f42f5312ce
Merge pull request #420 from docker/cli-test-framework
Move cli to gotest.tools
2020-08-04 14:15:45 +02:00
Chris Crone
b2655f15c4
Merge pull request #419 from docker/test-frameworks
Move formatter, multierror and progress to gotest.tools
2020-08-04 14:15:20 +02:00
Chris Crone
ef1d05e280
Merge pull request #415 from chris-crone/fix-copyright
Fix Dockerfile copyright
2020-08-04 14:14:58 +02:00
Chris Crone
f8ce7a4780 cli: Move to gotest.tools
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-04 14:03:24 +02:00
Chris Crone
3ba70a27c6 formatter,multierror,progress: Move to gotest.tools
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-04 13:53:54 +02:00
Chris Crone
8e893fc5eb errdefs: Move to gotest.tools
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-04 13:45:39 +02:00
Christopher Crone
207b57ba81 context: Move to gotest.tools
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-04 13:39:00 +02:00
Christopher Crone
5ea711b586 dockerfile: Fix copyright
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-04 13:30:30 +02:00
Chris Crone
e7e2d20050 config: Move to gotest.tools
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-04 13:27:12 +02:00
Djordje Lukic
675af01aff
Merge pull request #412 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.33.18
Bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.18
2020-08-04 10:40:07 +02:00
Chris Crone
22af875171
Merge pull request #410 from docker/server-tests
Move server package to gotest.tools
2020-08-04 10:26:47 +02:00
Djordje Lukic
3302596f1a
Merge pull request #408 from docker/metrics-tests
Fix metrics test name, move to gotest.tools
2020-08-04 09:43:55 +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
Djordje Lukic
5a56b0adbf
Merge pull request #402 from docker/dependabot/go_modules/google.golang.org/grpc-1.31.0
Bump google.golang.org/grpc from 1.30.0 to 1.31.0
2020-08-04 09:32:58 +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
Chris Crone
9ef32f6c38
Merge pull request #407 from docker/bump-linter
dockerfile: Update linter
2020-08-03 10:44:28 +02:00
Christopher Crone
5ae94aceb6 server: Move to gotest.tools
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-03 09:54:18 +02:00
Christopher Crone
326e8116d1 metrics: Fix test name, move to gotest.tools
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-31 18:51:02 +02:00
Christopher Crone
5c947a2082 dockerfile: Update linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-31 16:17:19 +02:00
Chris Crone
a46ada6c47
Merge pull request #405 from docker/move-to-main
repo: Move to main branch
2020-07-31 11:27:23 +02:00
Christopher Crone
c26b5ffd97 repo: Move to main branch
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-31 11:11:03 +02: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
Anca Iordache
a4a94e9bef
Merge pull request #395 from docker/ecs_backend
Add AWS backend (import docker/ecs-plugin)
2020-07-30 11:46:42 +02:00
aiordache
5f7c284d58 update delegation test to check all context types
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-30 11:40:44 +02:00
aiordache
87245ef727 rename packages ( amazon to ecs and azure to aci )
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-30 11:34:34 +02: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
cfa7406d73 fix tests
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
Anca Iordache
3bad2d4004
Merge pull request #401 from docker/compose_cmd
Error out  for contexts not implementing compose command
2020-07-30 11:15:33 +02:00
aiordache
648f0139df add e2e test for compose up on default context
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-29 17:33:23 +02:00
aiordache
5a26b25709 handle compose on all context types
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-29 11:58:09 +02:00
aiordache
cfd6d2f5d1 Error out for contexts not implementing compose command
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-28 16:30:08 +02:00
Chris Crone
df9f93cf18
Merge pull request #398 from docker/logout-test-win
Fix logout test on Windows
2020-07-17 17:08:26 +02:00
Christopher Crone
eac315c6ec tests: Fix logout test on Windows
The macOS/Linux output when logging out from a registry that you're not
logged into is different to that of Windows. As the login test doesn't
really test if the registry login works, the test now just checks that
the command is properly parsed.

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-17 16:55:12 +02:00
Chris Crone
45604a6350
Merge pull request #397 from docker/fix-logout
Fix logout
2020-07-17 16:36:25 +02:00