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
Guillaume Tardif
25d912c1ed
Tests on compose conversion
2020-06-18 16:45:21 +02: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
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
Guillaume Tardif
404f2629a3
Changed compose flag —name to —project-name, -p, aligned with docker-compose flag.
2020-06-17 07:17:58 +02:00
Guillaume Tardif
90acf5eddc
Allow compose up from stdin with `-f -`. Cf https://github.com/docker/desktop-microsoft/issues/15
2020-06-16 19:52:24 +02:00
Guillaume Tardif
8f6cd7c63f
Merge pull request #223 from docker/fix_e2e
...
Fix e2e
2020-06-16 16:06:51 +02:00
Guillaume Tardif
ef2f90b334
Fix e2e
2020-06-16 15:55:03 +02:00
Guillaume Tardif
13d3a52273
Merge pull request #222 from ulyssessouza/inspect
...
Fix linter
2020-06-16 11:48:35 +02:00
Ulysses Souza
5b1522095b
Fix linter
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-16 10:59:40 +02:00
Guillaume Tardif
2b4e2cb322
Merge pull request #220 from docker/aci_user_agent
...
set Aci user agent to allow metrics on usage from docker cli
2020-06-16 09:44:41 +02:00
Djordje Lukic
50c68ce4dd
Merge pull request #221 from rumpl/feat-context-metadata
...
Use the context from the metadata if it exists
2020-06-16 00:43:36 -07:00
Djordje Lukic
a999f34b23
Use the context from the metadata if it exists
2020-06-16 09:43:09 +02:00
Guillaume Tardif
9257d0ff49
Merge pull request #205 from ulyssessouza/inspect
...
Add inspect command
2020-06-16 09:33:33 +02:00
Djordje Lukic
a80653c27c
Merge pull request #219 from rumpl/chore-build-without-backends
...
Build example and local backend conditionaly
2020-06-15 12:24:40 -07:00
Guillaume Tardif
885e0d0aa4
common authoriser & user agent setup for all clients
2020-06-15 21:17:10 +02:00
Guillaume Tardif
425f9acb88
Set aci user agent for MS metrics
2020-06-15 20:39:09 +02:00
Djordje Lukic
39042aa8bd
Build example and local backend conditionaly
...
* `make` will build the cli with all backends exnabled
* `make cross` will cross build without the example and local backend
You can still cross compile with all backends by doing
```console
$ BUILD_TAGS=example,local make cross
```
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-06-15 18:02:30 +02:00
Guillaume Tardif
028750e7d2
Merge pull request #218 from docker/context_rm_default
...
Context rm default does not allow removing current context, except if -f
2020-06-15 17:21:17 +02:00