Commit Graph

548 Commits

Author SHA1 Message Date
Guillaume Tardif 2824a7a736 Context aci create : check context name does not exists before starting interactive aci create 2020-06-22 18:20:40 +02:00
Guillaume Tardif aeb6d2c7c6 List pages of resource groups if entire list is not fetch in first page 2020-06-22 15:34:13 +02:00
Guillaume Tardif dbaab41604 Changed root level debug shorthand to capital D, make it consistent with Moby flag and not clash with —detach future option 2020-06-22 13:19:37 +02:00
Guillaume Tardif f931ba3fca
Merge pull request #255 from docker/chore-windows-build
Run windows build/test only on master
2020-06-22 10:18:15 +02:00
Guillaume Tardif a2cfcf1124
Merge pull request #256 from docker/aci_fix_context_location
Use location flag in aci context creation only for group creation
2020-06-22 10:18:00 +02:00
Djordje Lukic e033ca27d2 Run windows build/test only on master
The regular CI will only run on pull requests
2020-06-22 10:16:07 +02:00
Guillaume Tardif 309069f545 Use location flag in aci context creation only for group creation (default eastus). Once group has been created/selected, use group location. 2020-06-22 10:09:17 +02:00
Djordje Lukic ec5faa9eb8
Merge pull request #248 from docker/dependabot/go_modules/github.com/Azure/azure-sdk-for-go-43.3.0incompatible
Bump github.com/Azure/azure-sdk-for-go from 43.2.0+incompatible to 43.3.0+incompatible
2020-06-22 01:03:43 -07:00
Guillaume Tardif c6f545e6a5
Merge pull request #249 from docker/version_0.1.2
Version 0.1.2
2020-06-21 09:14:22 +02:00
Guillaume Tardif ef83880608 Version 0.1.2 2020-06-21 09:05:17 +02: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
Guillaume Tardif 45750fe104 Do not display “docker for the 2020s” as the first help line ! 2020-06-19 12:21:31 +02:00
Guillaume Tardif daf7061e30
Merge pull request #244 from docker/aci_dns_sidecar
Aci dns sidecar
2020-06-19 11:49:04 +02:00
Guillaume Tardif a72ba8a6a9
Merge pull request #246 from docker/fix_err_context_create
Fix err context create
2020-06-19 11:32:36 +02:00
Guillaume Tardif 82171eec19 Explicit message telling the user they are not logged in and need `docker login azure` first 2020-06-19 11:21:55 +02:00
Guillaume Tardif 8eb380a5a4 So much for golang error processing... 2020-06-19 11:21:47 +02:00
Djordje Lukic 34d76bd561
Merge pull request #243 from docker/chore-license
Add license headers
2020-06-19 01:16:21 -07:00
Guillaume Tardif c20587d0ac
Merge pull request #245 from docker/subscription_display
Nicer subscription display.
2020-06-18 23:53:40 +02:00
Guillaume Tardif e99e3aefc5 Nicer subscription display. Cf https://github.com/docker/desktop-microsoft/issues/21 2020-06-18 21:21:24 +02:00
Guillaume Tardif 8bfe0c5ebc use busy box instead of alpine (much smaller) 2020-06-18 18:02:46 +02:00
Guillaume Tardif e4db0d2b9e Lower CPU/ memory of sidecar container to minimum (reached limits and commented with error message) 2020-06-18 17:56:19 +02:00
Guillaume Tardif 76a1753396 ACI e2e required change, because the output includes the progress info. 2020-06-18 17:45:01 +02:00
Chris Crone a72f0a8739
Merge pull request #240 from chris-crone/changelog
Add changelog
2020-06-18 17:28:55 +02:00
Christopher Crone 5e8b20678d Changelog: Add known issues
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-06-18 17:28:29 +02:00
Djordje Lukic ad72c866cc Add license headers 2020-06-18 16:48:03 +02:00
Guillaume Tardif 25d912c1ed Tests on compose conversion 2020-06-18 16:45:21 +02:00
Djordje Lukic 56bfc5e6b9
Merge pull request #239 from docker/fix-windows-progress
Simpler progress on windows
2020-06-18 07:28:50 -07:00
Guillaume Tardif 4398560a40 Remove unused code 2020-06-18 16:13:14 +02:00
Guillaume Tardif 3f544f0e01 Don’t show ACI sidecar in `docker ps` 2020-06-18 16:13:04 +02:00
Guillaume Tardif 3187120d94 Initial sidecar container for Aci DNS 2020-06-18 15:50:49 +02:00
Christopher Crone 6d901c599d Add changelog
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-06-18 15:13:04 +02:00
Djordje Lukic cee5b697bb Simpler progress on windows
* no colors
* no braille spinner
2020-06-18 14:16:14 +02:00
Guillaume Tardif d6084e1b6e
Merge pull request #238 from docker/version_0.1.1
CLI version 0.1.0 => 0.1.1
2020-06-18 12:27:39 +02:00
Guillaume Tardif ba5eb3b865 CLI version 0.1.0 => 0.1.1 2020-06-18 12:25:10 +02:00
Guillaume Tardif 26273b3aa3
Merge pull request #233 from docker/feat-progress
Feat progress
2020-06-18 12:22:31 +02:00
Djordje Lukic a1bb04ebe1 Refactor calling the progress writer to make it easier 2020-06-18 12:10:36 +02:00
Djordje Lukic b55267739a Azure backend reports progress 2020-06-18 11:01:33 +02:00
Djordje Lukic fe47237767 Add functions to add the writer in the context 2020-06-18 11:01:00 +02:00
Djordje Lukic d0e48a25aa Implement a progress writer 2020-06-18 11:01:00 +02:00
Guillaume Tardif 6dfd22cb1f
Merge pull request #236 from docker/aci_allow_update_compose
Allow compose updates without having to delete the stack every time.
2020-06-18 10:31:34 +02:00
Djordje Lukic 0837f7db30
Merge pull request #235 from docker/chore-cache-v2
Use latest version of actions/cache
2020-06-18 01:20:10 -07:00
Guillaume Tardif 96bddb392d
Merge pull request #234 from docker/inspect_no_args
Do not restrict `docker inspect` to 1 arg
2020-06-18 10:08:52 +02:00
Guillaume Tardif f403307edf Allow compose updates without having to delete the stack every time.
Update will “typically” keep the same IP, but this isn’t guaranteed by azure
(ACI has limitations on what can be updated, but this does not apply to us for the moment : https://docs.microsoft.com/en-us/azure/container-instances/container-instances-update#properties-that-require-container-delete)
For the moment I check in the test that the IP is keep the same
2020-06-18 10:03:28 +02:00
Djordje Lukic 652141c993 Use latest version of actions/cache 2020-06-18 09:44:34 +02:00
Guillaume Tardif ab3cd0fec1 Renamed ExecIfDefaultCtxType for more explicit behaviour 2020-06-18 09:29:01 +02:00
Guillaume Tardif 3981244701 Fix bug where we shell out to Moby cli only if context == default. We must shell out to Moby cli for any context of type “Moby”, not only the default context. 2020-06-18 09:25:28 +02:00
Guillaume Tardif fe57e4c159 Fix a bug where calling login, context inspect did not do anything if not on default context. These command will shell out to Moby cli regardless of current context 2020-06-18 09:25:28 +02:00
Guillaume Tardif 1bb2909d1a Do not restrict `docker inspect` to 1 arg, can be zero (inspect current context), one or several.
Especially, inspect with zero param is already used by VSCode. Cf https://github.com/docker/desktop-microsoft/issues/19
2020-06-18 09:21:48 +02:00
Guillaume Tardif 1623584303
Merge pull request #232 from docker/rename_classic
Renamed docker-classic to “com.docker.cli”.
2020-06-18 09:14:06 +02:00
Guillaume Tardif bbcdad39d5 Renamed docker-classic to “com.docker.com”. 2020-06-17 17:57:53 +02:00