487 Commits

Author SHA1 Message Date
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
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
Djordje Lukic
5103d54330
Merge pull request #227 from docker/dependabot/go_modules/github.com/Azure/azure-sdk-for-go-43.2.0incompatible
Bump github.com/Azure/azure-sdk-for-go from 43.1.0+incompatible to 43.2.0+incompatible
2020-06-17 06:07:28 -07:00
dependabot-preview[bot]
7d04c343e3
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.1.0+incompatible to 43.2.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.1.0...v43.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 12:57:18 +00:00
Djordje Lukic
4232b66a6b
Merge pull request #228 from docker/compose_project_name
Changed compose flag —name to —project-name, -p, aligned with docker-compose flag.
2020-06-17 05:52:55 -07:00
Djordje Lukic
228097b1be
Merge pull request #226 from docker/compose_stdin
Allow compose up from stdin with `-f -`.
2020-06-17 05:37:23 -07:00
Guillaume Tardif
a8d29dc3db Removed unnecessary test 2020-06-17 14:13:28 +02:00
Djordje Lukic
a8dd88fd5f
Merge pull request #230 from ulyssessouza/json
Add --json option to commands
2020-06-17 03:08:18 -07:00
Ulysses Souza
f6aad0d7b4 Add --json option to commands
- docker ps
- docker context ls

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-17 10:00:42 +02:00
Guillaume Tardif
505b6a90c8
Merge pull request #229 from docker/context_ls_q
added -q flag to `docker context ls`.
2020-06-17 09:05:35 +02:00
Guillaume Tardif
34d01012e4 Relax constraints on flaky tests (due to // runs) 2020-06-17 08:58:24 +02:00
Guillaume Tardif
830914cb15 Prepare for release 0.1.0 2020-06-17 08:41:54 +02:00
Guillaume Tardif
2a49c3b32f added -q flag to docker context ls. (This is now used in desktop e2e wsl2 tests)
See https://ci-next.docker.com/teams-desktop/blue/organizations/jenkins/desktop%2Fdesktop-test-single-branch-win/detail/desktop-test-single-branch-win/274982/pipeline/
2020-06-17 07:40:27 +02:00