Chris Crone
aeab918688
tests: Replace Python test image with Go binary
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-03 18:50:44 +01:00
Guillaume Tardif
1a5ce029b4
Changed test img to `dockerinternal` org, removed the need of 2 images, added ECS E2E secret validation
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-03 18:04:45 +01:00
Guillaume Tardif
dd5f66ff09
Merge pull request #868 from docker/aci_e2e_regroup
...
Regroup secret and resource ACI E2E test, and deploy a single compose file, to gain ~1 min test exec time
2020-11-03 15:21:37 +01:00
Guillaume Tardif
ba0d2907ed
Also validate we can share some secrets between services but not all secrets, without leaking secrets.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-03 15:05:57 +01:00
Guillaume Tardif
a26e1bd1a5
Regroup secret and resource ACI E2E test, and deploy a single compose file, to gain ~1 min test exec time
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-03 13:39:49 +01:00
Nicolas De loof
f66123b34a
Merge pull request #846 from docker/ecs_context
2020-11-03 11:38:06 +01:00
Guillaume Tardif
3b6bfdd5b1
Display ecs status in CamelCase in order to have homogeneous output between backends.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-02 13:08:54 +01:00
Guillaume Tardif
0670df442c
Merge pull request #855 from docker/local-rm
...
Add --rm support to run with the local backend
2020-11-02 09:49:26 +01:00
Chris Crone
25e6a18fef
backend: Add --rm support to local backend
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-10-30 18:19:02 +01:00
Guillaume Tardif
7ef99e163a
ECS E2E test using multi-container , multi-port publish app and validating cross-container communication
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-30 17:41:39 +01:00
Guillaume Tardif
c3cc54316b
This new field Named “Type” breaks VSCode extension for some strange reason, lets rename it ContextType
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-30 13:32:13 +01:00
Guillaume Tardif
7cc3bc3870
No breaking change on `docker context ls —format “{{ json . }}` , this is used by VSCode extension
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-30 10:37:36 +01:00
Guillaume Tardif
a78cc47b1c
Use HttpgetWithRetry() that’ll set timeout for each retry and not freeze on he first call
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-29 17:25:40 +01:00
aiordache
53efa312c8
Refactor context create options
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-29 10:25:23 +01:00
Guillaume Tardif
02501407de
Add update command for backward compatibility
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-28 14:26:32 +01:00
Guillaume Tardif
7490584a41
Fix e2e GET timeout, was *1000 twice :facepalm
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-27 11:33:44 +01:00
aiordache
83716a5eb2
Return json array for `ps/ls --format json` commands
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-23 14:07:03 +02:00
aiordache
8f31ad59be
Refactor secrets
...
- create secrets from files
- update Secret structure
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-19 11:33:55 +02:00
Guillaume Tardif
333e4e5675
Merge pull request #787 from docker/add-abs-path-secret-target
...
Support absolute paths for secrets
2020-10-16 11:59:27 +02:00
Anca Iordache
05295b5e8a
Merge pull request #765 from docker/ecs_default_profile
...
Populate ~/.aws/config(credentials) on ecs context create
2020-10-16 11:33:03 +02:00
aiordache
c2af0a136a
Populate ~/.aws/config(credentials) on ecs context create
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-15 20:26:38 +02:00
Ulysses Souza
06e44a813c
Support absolute paths for secrets
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-15 15:46:07 +02:00
Guillaume Tardif
50a2ae1100
Display summary of reclaimed ACI resources (CPU/mem) in `docker prune`
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-15 15:45:48 +02:00
Chris Crone
bb9b059288
Merge pull request #785 from docker/disable_more_aci_tests
...
Make ACI exec test less strict to handle differing outputs
2020-10-15 09:45:57 +02:00
Guillaume Tardif
a5e34323e2
Add `docker prune` command and ACI implementation
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-14 17:48:11 +02:00
Guillaume Tardif
1bd5ed56bc
Make one ACI test less strict, we still encounter issues related to deployments on Atlas platform (errors on `docker exec`: failed to read input from container: ws closed: 1000, cf https://github.com/docker/compose-cli/runs/1247798295 )
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-14 14:35:00 +02:00
Ulysses Souza
660c7bbdcf
Add command "volume inspect"
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-14 11:11:55 +02:00
Guillaume Tardif
1a4d45dd06
Too flaky, see https://github.com/docker/compose-cli/runs/1246970427
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-13 12:28:22 +02:00
Guillaume Tardif
9f5f1cc4c3
Add debug information when mysql cannot start on ACI E2E test
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-13 09:37:12 +02:00
Guillaume Tardif
be4b9a6812
Merge pull request #760 from docker/add-quiet-flags
...
Add --quiet for some commands
2020-10-13 09:00:58 +02:00
Guillaume Tardif
7b8255c953
Replaces windows carriage return for windows tests
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-12 17:23:47 +02:00
Guillaume Tardif
a4f10c171e
Test DB Startup timeout 60s => 90s
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-12 16:48:18 +02:00
Guillaume Tardif
5b54816a1a
Merge pull request #757 from docker/secrets-refactor
...
Squash all secrets in a single one
2020-10-12 14:40:59 +02:00
Ulysses Souza
45212c6e21
Squash all secrets in a single one
...
Also adds an e2e test
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-12 14:17:37 +02:00
Guillaume Tardif
0dfea32250
Revert "Temporarily disable some red ACI tests, to be put reverted once the platform is back to green (hopefully in a day or 2)"
...
This reverts commit b10acc1a60
.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-12 14:08:22 +02:00
Ulysses Souza
6c1ea32dae
Add --quiet for some commands
...
- compose ls
- compose ps
- secret ls // Not implemented on ACI so no e2e-aci tests
- volume ls
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-12 11:34:27 +02:00
Ulysses Souza
99186b1d04
Look for all mounts before removing a volume
...
This checks the volume mounts of all container groups from all
resource groups before removing a volume/fileshare
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-09 14:39:21 +02:00
Guillaume Tardif
289c83efe2
HttpRetry : do not get stuck on first call, timeout http requests and retry in case of failures
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-09 14:27:24 +02:00
Guillaume Tardif
4f87422a79
more debug info when ports available but hostIP is empty ; Seems to be a race where container has status running but not yet an IP allocated
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-09 14:09:09 +02:00
Ulysses Souza
019268dded
Fix e2e tests on comparing with empty string
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-09 13:21:17 +02:00
Guillaume Tardif
68d0413e36
Minor cleanup
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-09 11:53:53 +02:00
Guillaume Tardif
6516632ecf
Add resource reservations to container inspect
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-08 17:47:16 +02:00
Guillaume Tardif
b1edfb6507
Change inspect json output to group things a bit more nicely, and more like Moby json output
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-08 17:03:30 +02:00
Guillaume Tardif
a09983b474
Do not send metrics for help commands
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-08 14:47:31 +02:00
Guillaume Tardif
0d3f7186c5
Hardcoded list of commands and simplified metrics gathering.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-08 11:59:12 +02:00
guillaume.tardif
cd09351b0a
Fix ACI E2E test on windows (file path)
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-07 10:38:33 +02:00
Guillaume Tardif
9ad06e55b5
E2e test on metrics
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-07 10:11:46 +02:00
Guillaume Tardif
6fa93db021
Merge pull request #724 from gtardif/json_context_format
...
Allow `docker context ls —formatter {{json.}}` to not delegate to Moby and include context type in the json
2020-10-06 18:12:54 +02:00
Guillaume Tardif
a1bb2d5abe
Allow `docker context ls —formatter {{json.}}` to not delegate to Moby and include context type in the json
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-06 18:00:35 +02:00
Guillaume Tardif
9cc914ef07
No need for docker dependency for CopyDir, and yaml parser.
...
No need for multiport compose file with volumes
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-06 17:54:26 +02:00