Commit Graph

1416 Commits

Author SHA1 Message Date
Nicolas De loof 60bd0e5303
Merge pull request #706 from aiordache/ecs_task_failure_detection 2020-10-05 19:45:03 +02:00
aiordache c15d05f7f4 refactor task failure detection
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-05 19:37:13 +02:00
aiordache eadcb3be32 Error check stack delete
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-05 16:55:38 +02:00
aiordache d3effd2ead Detect task failures
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-05 16:55:35 +02:00
Guillaume Tardif 144c403e96
Merge pull request #721 from ahlaw/main
Normalize case of command and flag help
2020-10-05 11:45:47 +02:00
Nicolas De loof cc81a2546c
Merge pull request #719 from aiordache/ecs_norm_vol_names
Normalize volume name
2020-10-05 11:14:49 +02:00
Nicolas De loof 408ab6d43a
Merge pull request #688 from docker/resolv
Configure /etc/resolv.conf before container start by an init container
2020-10-05 10:56:16 +02:00
Guillaume Tardif 97576db803
Merge pull request #689 from ulyssessouza/json-out
Add json output format to several commands
2020-10-05 10:30:30 +02:00
Guillaume Tardif cd0de2ea4d
Merge pull request #720 from docker/ci_aci_regions
Running tests in many regions to avoid per region limit when we run too many // things in the CI
2020-10-05 09:54:38 +02:00
Guillaume Tardif 71238b261d Running tests in many regions to avoid per region limit when we run too many // things in the CI
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-05 09:36:43 +02:00
Nicolas De loof 10824fe7c1
Merge pull request #718 from docker/capacity_provider_shutdown
delete CapacityProvider before we invoke DeleteStack
2020-10-05 09:26:17 +02:00
Amos Law e10424e316 Normalize case of command and flag help
Signed-off-by: Amos Law <ahlaw.dev@gmail.com>
2020-10-03 20:43:18 -04:00
Ulysses Souza 344db70274 Fix version command on bypassing to moby cli
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-02 19:04:43 +02:00
Ulysses Souza 74e86ab06a Fix HTML escape encoding
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-02 18:53:22 +02:00
Nicolas De Loof eab140ee71
delete CapacityProvider before we invoke DeleteStack
this is a workaround for CloudFormation issue to manage CapacityProvider <-> Cluster reverse dependency

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-10-02 18:22:13 +02:00
Ulysses Souza e4fff081db
Merge pull request #711 from docker/fix_aci_500
ACI tests : Wait for http status and retry if necessary.
2020-10-02 17:30:23 +02:00
Ulysses Souza 863d8ba7a8
Merge pull request #700 from gtardif/aci_constants
Regroup azure constants that might be things to switch in order to provide access to other azure clouds
2020-10-02 17:19:52 +02:00
aiordache 21f5cf8b40 normalize volume name
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-02 15:50:25 +02:00
Guillaume Tardif ced0eb3912
Merge pull request #709 from aiordache/grpc_env_vars_support
Add environment variables to grpc run request.
2020-10-02 15:14:51 +02:00
Nicolas De loof 7b9390d91f
Merge pull request #701 from docker/autoscale 2020-10-02 15:01:51 +02:00
Nicolas De loof 4d1af4657a
Merge pull request #717 from aiordache/ecs_norm_vol_names 2020-10-02 15:01:31 +02:00
aiordache cf906951bf Normalize volume names
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-02 14:54:23 +02:00
Guillaume Tardif 9a3d3a7f45
Merge pull request #715 from docker/fix_docker_login
Fix regression: let users login to local registry (no ‘.’ In registry name)
2020-10-02 14:06:37 +02:00
Guillaume Tardif 6d0f7f399f Fix regression: let users login to local registry (no '.' In registry name)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-02 13:54:59 +02:00
aiordache f983686426 Change EnvVars property to Environment
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-02 09:51:09 +02:00
Guillaume Tardif a07b1db9f1 Wait for http status and retry if necessary. We were getting 500 errors because database is not ready initially
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-01 18:09:34 +02:00
Ulysses Souza 83f21b9293 Remove unused files
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 8c51b8b67d Fix lint
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza b8a1e6c888 Change JSON output to individual lines
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 3e9095a873 Fix docker context ls for retrocompatibility
It writes each context as an independent object line

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 178ac40dba Fix return on ports when empty
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 6c883dc4a5 Print only the information present in pretty on json
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 604cf0c911 Add comment on legacy --json option
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza ac8975ea1e Fix import
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 044e7f571d Remove go template from help on list commands
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza fb59c9385d Fix tests
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza ef5e013aa7 Return empty list instead of nil on List
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 0f6f547214 Refactor Print method for lists
This also fixes in the case of nil list

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
Ulysses Souza 8961805412 Add json output format to several commands
- docker context ls
- docker ps
- docker compose ls
- docker compose ps
- docker secret ls
- docker volume ls
- docker version

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 15:41:18 +02:00
aiordache 11d4db6907 Add EnvVars property to the container proto and update unittest
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-01 14:36:03 +02:00
Guillaume Tardif abd6af6386
Merge pull request #704 from ulyssessouza/add-envFile
Add envFile arguments to run command
2020-10-01 13:55:24 +02:00
Guillaume Tardif b666a21fe2
Merge pull request #707 from ulyssessouza/add-precommit-target
Add pre-commit target to Makefile
2020-10-01 13:40:48 +02:00
Guillaume Tardif 9d69417fc7
Merge pull request #708 from docker/fix_aci_e2e
Fix ACI e2e : now we support passing commands, set `--domainname` before the image in the cmd
2020-10-01 13:29:25 +02:00
Guillaume Tardif 7941e048a1 Fix ACI e2e : now we support passing commands, set `--domainname` before the image in the cmd
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-01 12:56:47 +02:00
Guillaume Tardif 0ac5ce6a76
Merge pull request #702 from gtardif/run-args
Add argument support to run command
2020-10-01 11:22:03 +02:00
Ulysses Souza 112794e6c9 Add pre-commit target to Makefile
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 10:55:02 +02:00
Ulysses Souza 2e899202ec Add envFile arguments to run command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 06:19:08 +02:00
Guillaume Tardif 4f48318332
Merge pull request #699 from gtardif/fix_compose_default_context
Do not fail when constructing error message for commands not implemented, if command flags are not recognized.
2020-09-30 15:58:06 +02:00
Ulysses Souza 277702dc6b Add argument support to run command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-30 15:34:22 +02:00
Nicolas De Loof 20a8f01269
Don't set securityGroup name, as all compose apps will create a `DefaultNetwork`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-30 15:26:12 +02:00