839 Commits

Author SHA1 Message Date
Guillaume Tardif
036190bd5e
Merge pull request #439 from docker/acr_auto_login
ACR autologin
2020-08-10 11:36:28 +02:00
Guillaume Tardif
63fd8f2fad ACR autologin. Only warns for autologin errors, as ACR registries might not be related to the user azure login, but they might have external credentials to use ACR images. 2020-08-10 10:42:00 +02:00
Guillaume Tardif
7326234e25
Merge pull request #440 from docker/dependabot/go_modules/github.com/Azure/go-autorest/autorest/adal-0.9.1
build(deps): bump github.com/Azure/go-autorest/autorest/adal from 0.9.0 to 0.9.1
2020-08-10 09:12:56 +02:00
Guillaume Tardif
1307678ef5
Merge pull request #434 from docker/aci_error_compose_restart_policy
Allow consistent multi container restart policies but provide clear error message for inconsistent restart policies
2020-08-10 09:12:18 +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
Guillaume Tardif
d0a3fb9844 Allow consistent multi container restart policies but provide clear error message for inconsistent restart policies 2020-08-07 15:51:41 +02:00
Djordje Lukic
76cb9f3ad7
Merge pull request #438 from docker/fix-wsl2-azure-login
Fix azure login inside WSL2
2020-08-07 15:42:08 +02:00
Djordje Lukic
8e7a8bfa24 Fix azure login inside WSL2 2020-08-07 12:55:12 +02:00
Anca Iordache
7c8984beaf
Merge pull request #435 from docker/extend_compose_api
Extend the compose API
2020-08-07 11:53:32 +02:00
aiordache
e097d19d7c update param name and add comments for logs and ps methods
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-07 10:51:42 +02:00
Guillaume Tardif
0e6faa8a65
Merge pull request #436 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.33.21
build(deps): bump github.com/aws/aws-sdk-go from 1.33.20 to 1.33.21
2020-08-07 09:55:46 +02: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
Chris Crone
ace0c51d1d
Merge pull request #406 from docker/normalize-aci-tests
Normalize aci package tests
2020-08-06 18:59:50 +02:00
Christopher Crone
f9f09b3f95 aci: Normalize source code file names
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00
Christopher Crone
e4f55ab808 aci: Normalize testing frameworks
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00
Christopher Crone
6412b9f638 aci.login: Return pointer to login service
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00
Christopher Crone
f41934ed90 aci.login: Normalize testing frameworks
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00
Christopher Crone
8bf0610c18 aci.login: Normalize source code file names
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00
Christopher Crone
a187891261 aci.convert: Normalize source code file names
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00
Christopher Crone
7c869cdd36 aci.convert: Normalize testing frameworks
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00
Guillaume Tardif
d8dfa468ab
Merge pull request #429 from docker/dependabot/go_modules/github.com/Azure/go-autorest/autorest-0.11.3
build(deps): bump github.com/Azure/go-autorest/autorest from 0.11.2 to 0.11.3
2020-08-06 18:26:29 +02:00
aiordache
00f17534a3 error check
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-06 18:13:17 +02:00
aiordache
64c517f375 remove unused parameter
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-06 18:13:17 +02:00
aiordache
46e58a28d0 Add ps and logs to compose API
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-06 18:13:17 +02: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
Guillaume Tardif
c6c341ef16
Merge pull request #428 from docker/dependabot/go_modules/github.com/aws/aws-sdk-go-1.33.20
build(deps): bump github.com/aws/aws-sdk-go from 1.33.19 to 1.33.20
2020-08-06 17:42:16 +02:00
Anca Iordache
4c3c219518
Merge pull request #411 from docker/enable_ecs
Enable ecs backend
2020-08-06 12:17:00 +02:00
aiordache
42a5dfc0d2 rename runCompose() to checkComposeSupport()
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-06 12:02:11 +02:00
Guillaume Tardif
e686de589d
Merge pull request #430 from docker/fix_flaky_signal_fwd
Fix flaky nil pointer in signal forwarding to child process
2020-08-06 11:57:57 +02:00
aiordache
bb3500d77b check with client if context is supported (has a backend)
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-06 11:49:54 +02:00
Djordje Lukic
40dd4fd8ed
Merge pull request #427 from docker/fix-invalid-creds
Fix invalid creds
2020-08-06 11:04:21 +02:00
Guillaume Tardif
cdd4028788 Fix flaky nil pointer in signal forwarding to child process (see https://github.com/docker/api/runs/949400778) 2020-08-06 10:23:12 +02: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
Djordje Lukic
ee4916cbf5 Add test for invalid registry name 2020-08-05 15:22:13 +02:00
Anca Iordache
6c66f38870
Merge pull request #423 from docker/sig_proxy
Fix signal passing to mobycli
2020-08-05 15:17:16 +02:00
Djordje Lukic
280066a5f4 Move credential tests to gotest.tools 2020-08-05 15:09:33 +02:00
Djordje Lukic
9103215bf3 Don't return error if we can't parse the creds
We just continue on to the next credentials
2020-08-05 15:08:40 +02:00
Guillaume Tardif
29fe26620a Stop forwarding signals to child process when the child terminates 2020-08-05 15:05:32 +02:00
Guillaume Tardif
05a8582126 Forward all signals to child process 2020-08-05 15:05:32 +02:00
Guillaume Tardif
4dd1918ac2 Improve test that was sometimes passing too quickly where it should fail 2020-08-05 15:05:32 +02:00
aiordache
d1b8bcb2c7 fix signal passing to mobycli
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-05 15:05:32 +02: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
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
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
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