Commit Graph

671 Commits

Author SHA1 Message Date
Guillaume Tardif eb5965c962
Merge pull request #380 from docker/remove-single-container-fixed-name
Relax single container name and replace by using tags
2020-07-10 11:32:16 +02:00
Guillaume Tardif 52c2d09eae
Merge pull request #376 from docker/logout
Implement azure logout
2020-07-10 09:48:39 +02:00
Djordje Lukic 26b4ece77d
Merge pull request #373 from docker/chore-guava
Update guava version to remove security warning
2020-07-09 15:02:39 +02:00
Ulysses Souza b22118a861
Merge pull request #372 from docker/feat-non-interactive-exec
Allow non-interactive exec on ACI
2020-07-09 11:51:35 +02:00
Djordje Lukic ef2d304762 Allow non-interactive exec on ACI
If the request is for a non-interactive exec we don't attach the stdin
when executing.
2020-07-09 11:47:22 +02:00
Djordje Lukic ffd815da64
Merge pull request #375 from docker/feat-grpc-platform
Add the platform when returning a container over GRPC
2020-07-09 10:56:07 +02:00
Djordje Lukic de385ba1ee
Merge pull request #377 from docker/dependabot/go_modules/github.com/AlecAivazis/survey/v2-2.0.8
Bump github.com/AlecAivazis/survey/v2 from 2.0.7 to 2.0.8
2020-07-09 10:55:44 +02:00
Ulysses Souza 3b85582c38 Relax single container name
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-07-09 10:40:50 +02:00
dependabot-preview[bot] 1fe5bf9b60
Bump github.com/AlecAivazis/survey/v2 from 2.0.7 to 2.0.8
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.0.7...v2.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 21:25:13 +00:00
Guillaume Tardif 492ce96dd4 Implement azure logout 2020-07-08 17:48:10 +02:00
Guillaume Tardif 78cb0a87c7
Merge pull request #367 from docker/e2e_cleanup
E2e cleanup
2020-07-08 17:24:10 +02:00
Guillaume Tardif 0639aab22e Allow single test run with make 2020-07-08 17:07:32 +02:00
Guillaume Tardif 7cd0b3c159 Separate ACI e2e tests, allowing to run a single one 2020-07-08 16:54:45 +02:00
Guillaume Tardif a2ea2347ba Remove It() in e2e tests, simplified step declaration. Nicer test output for all tests 2020-07-08 16:54:45 +02:00
Djordje Lukic b146b2f391 Add the platform when returning a container over GRPC 2020-07-08 16:41:25 +02:00
Ulysses Souza f62ab26714
Merge pull request #371 from docker/azure-volume-errors
Clean up volume parsing functions
2020-07-08 15:13:33 +02:00
Djordje Lukic f5f01a8729 Update guava version to remove security warning 2020-07-08 15:07:12 +02:00
Christopher Crone 42a756f7d3 azure: Clean up volume parsing functions
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-08 13:40:40 +02:00
Chris Crone b881f16085
Merge pull request #364 from chris-crone/set-version-docker
Set version when building with Docker
2020-07-08 11:51:00 +02:00
Chris Crone 33cbee03b8
Merge pull request #363 from chris-crone/bump-tools
Update Go and linter
2020-07-07 15:51:04 +02:00
Christopher Crone 539464ed3d build: Set version when building with Docker
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-07 15:48:09 +02:00
Guillaume Tardif 1e3b90f4f8
Merge pull request #362 from docker/fix_aci_tests
Fix ACI e2e tests : do not use console if no tty option set in exec
2020-07-07 15:42:11 +02:00
Christopher Crone 878783d271 tools: Update Go and linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-07 15:29:48 +02:00
Guillaume Tardif c5cd0f44f8 Fix ACI e2e tests : do not use console if no tty option set in exec 2020-07-07 14:05:25 +02:00
Guillaume Tardif 16acc36033
Merge pull request #356 from docker/fix-non-interactive
Add check on exec looking for arguments
2020-07-07 12:41:44 +02:00
Guillaume Tardif de4ba33c60
Merge pull request #358 from docker/aci_env_variable
Aci env variable
2020-07-07 12:40:27 +02:00
Guillaume Tardif f7daa70c87 Add ACI e2e test starting mysql with typical env vars 2020-07-07 12:22:56 +02:00
Guillaume Tardif cb3ac513cc Add run env variables support (KEY=AVLUE or KEY, will grab the process env value).
No support yet for env files
2020-07-07 11:39:35 +02:00
Guillaume Tardif 0c27fd6236 Support environment variables defined in compose file:
* KEY=VALUE
* KEY (no =VALUE) will fetch the process environment variable

envFile list is already parsed by compose-go and resolved to Environment key values no need to do anything for this.
2020-07-07 11:39:35 +02:00
Guillaume Tardif 2e867f40d7
Merge pull request #355 from docker/fix_windows_login
Fix windows login
2020-07-07 11:29:39 +02:00
Guillaume Tardif d7f8724dba
Merge pull request #354 from docker/aci_fix_compose_working_dir
Fix `docker compose up` with default project name being derived from current working dir
2020-07-07 11:27:49 +02:00
Guillaume Tardif efea5c8c83
Merge pull request #352 from docker/fix_error_cancel_logs
Exit without error message if user canceled command
2020-07-07 11:27:33 +02:00
guillaume.tardif 2d73f180ed return error if pb opening browser for login 2020-07-07 10:28:04 +02:00
Ulysses Souza 35cbb621fb Add check on exec looking for arguments
In the case where the command has arguments
it fails because ACI implementation does not
support commands with arguments

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-07-07 09:32:52 +02:00
guillaume.tardif 1d8e0ef9e6 Revert "Return an error if unable to open the browser"
This reverts commit e22b0ba676.
2020-07-07 09:19:06 +02:00
Chris Crone 43d8f2fa18
Merge pull request #351 from chris-crone/error-progress-fix
Set progress event endTime on error
2020-07-06 17:55:51 +02:00
Guillaume Tardif 0776e79e8e Exit without error message if user canceled command (typical scenario : ACI `logs — follow` and ctrl-C while querying ACI) 2020-07-06 17:28:02 +02:00
Guillaume Tardif b1d923d5a0
Merge pull request #347 from docker/inspect_platform
Add ”Platform” in docker inspect result, showing container OS
2020-07-06 17:13:08 +02:00
Guillaume Tardif e4c1a1f945 Fix `docker compose up` with default project name being derived from current working dir. has been fixed upstream in compose-go (see https://github.com/compose-spec/compose-go/pull/56) 2020-07-06 16:56:30 +02:00
Christopher Crone 50d932195d progress: Rename variable to clarify logic
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-06 14:03:48 +02:00
Christopher Crone fac4c60077 progress: Add test for error event
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-06 13:52:36 +02:00
Christopher Crone 9cc04472fb progress: Stop event on error
Ensures that we set an `endTime` when an error event is published.

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-06 13:26:39 +02:00
Guillaume Tardif 8ad53088a3
Merge pull request #344 from gtardif/doc_release
Update doc for release
2020-07-06 13:10:13 +02:00
Guillaume Tardif 2c981f14b3
Merge pull request #342 from docker/feat-aci-metrics
Metrics for azure commands
2020-07-06 13:07:01 +02:00
Guillaume Tardif 7296290408 Add ”Platform” in docker inspect result, showing container OS (this field is used by VSCode) 2020-07-06 12:16:02 +02:00
Djordje Lukic 188dc1b06c Metrics for azure commands
* docker context create aci
* docker login azure
2020-07-06 11:51:11 +02:00
Guillaume Tardif fc8132167e Update doc for release 2020-07-06 09:40:35 +02:00
Guillaume Tardif f2ff8ab669
Merge pull request #341 from docker/better_error_message
Better error message when trying to remove a container from a compose application
2020-07-03 16:03:22 +02:00
Guillaume Tardif dbc109808d Better error message when trying to remove a container from a compose application 2020-07-03 15:58:17 +02:00
Guillaume Tardif aeb446ef4f
Merge pull request #334 from docker/fix_rm_compose_container
Fix rm compose container
2020-07-03 15:42:48 +02:00