1222 Commits

Author SHA1 Message Date
aiordache
66c92595e5 list stacks by project name for ecs
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-07 14:59:02 +02:00
aiordache
3ed90ea467 replace check with Equal in e2e test
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-07 14:49:15 +02:00
aiordache
b155fe0f2e retrieve status with get group by name
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-07 14:39:49 +02:00
aiordache
19a707495f add test for compose ls
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-07 14:39:49 +02:00
aiordache
50c99ed7f6 filter status result by project name
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-07 14:39:49 +02:00
aiordache
799b799f30 Implement compose ls for ACI
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-07 14:39:49 +02:00
Nicolas De loof
0dd6416742
Merge pull request #590 from docker/api_folder 2020-09-07 13:34:28 +02:00
Nicolas De loof
c6f70db4bf
Merge pull request #589 from docker/protocol
create ALB is protocol is set to "http" or "https"
2020-09-07 13:33:50 +02:00
Guillaume Tardif
c8824a5421 Update labeler config
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-07 13:26:16 +02:00
Guillaume Tardif
64a28f6636 Also move client => api/client
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-07 13:23:06 +02:00
Guillaume Tardif
d06aa2827f Move containers, compose, secrets to /api
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-07 13:22:08 +02:00
Nicolas De Loof
1506c7ac9b
create ALB is protocol is set to "http" or "https"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-07 12:24:48 +02:00
Nicolas De loof
9545625131
Merge pull request #586 from docker/labeler
Auto-label PRs
2020-09-07 10:30:53 +02:00
Guillaume Tardif
aa5244c4e1 Auto-label PRs
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-07 10:26:07 +02:00
Guillaume Tardif
55d54cb21c
Merge pull request #584 from docker/aci_stop_follow_logs
ACI : when following logs (actually polling logs), stop polling when the container is not running.
2020-09-07 09:14:31 +02:00
Guillaume Tardif
6443a53176
Merge pull request #582 from docker/archi_doc_nit
Minor doc update on architecture
2020-09-04 16:00:58 +02:00
Guillaume Tardif
f24f02bbbb
Merge pull request #581 from docker/remove_delete_alias
Remove delete alias, no reason to add this (does not exist in Moby)
2020-09-04 15:47:27 +02:00
Guillaume Tardif
7138ecc899 ACI : when following logs (actually polling logs), stop polling when the container is not running anymore.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-04 15:46:35 +02:00
Nicolas De loof
a8c290fe98
Merge pull request #583 from docker/compose_ls 2020-09-04 14:13:27 +02:00
aiordache
b75ad3473d Fix lint issues
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-04 13:32:45 +02:00
Guillaume Tardif
1a41d0a90b Remove delete alias, no reason to add this (does not exist in Moby)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-04 13:22:28 +02:00
Guillaume Tardif
c3210a3973 Minor doc update on architecture
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-04 13:20:20 +02:00
aiordache
02be463fd7 Add compose ls command for ECS
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-09-04 13:20:11 +02:00
Guillaume Tardif
e9a575c4be
Merge pull request #578 from chris-crone/docs-architecture
docs: Add architecture diagram
2020-09-04 13:17:47 +02:00
Guillaume Tardif
cbb416976a
Merge pull request #577 from docker/aci_device_login_ctrlc
ACI: Allow Ctrl+C to cancel CLI when using Azure Device Code Flow login
2020-09-04 13:07:54 +02:00
Guillaume Tardif
303958bb44
Merge pull request #574 from ulyssessouza/alias-rm-kill
Add 'kill' as an alias to 'stop'
2020-09-04 13:07:38 +02:00
Guillaume Tardif
f107747ffe
Merge pull request #580 from docker/fix_aws_context
Fix bug not allowing users to run any context command when set to an aws context type.
2020-09-04 12:09:41 +02:00
Guillaume Tardif
adeba9b124 Fix bug not allowing users to run any context command when set to an aws context type.
When users have an “aws" context type, we try to exec the command (will execute context ls, context use, etc.) and when it fails because it doesn’t find the aws backend, then display the custom error for aws context type.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-04 11:01:55 +02:00
Ulysses Souza
15066ce999 Add 'kill' command
- On ACI that's implemented as a stop,
since ACI does not implement a kill

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-04 02:57:54 +02:00
Guillaume Tardif
76c92a8359 Pass in context to login tenant query, so it gets cancelled if the user Ctrl+C
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-03 18:21:30 +02:00
Nicolas De loof
a0a0e391cb
Merge pull request #573 from docker/simulation 2020-09-03 16:10:55 +02:00
Chris Crone
a09f42d85e
Merge pull request #579 from chris-crone/clarify-contributing
Tidy and clarify contributing guide
2020-09-03 16:00:45 +02:00
Chris Crone
966bbfe8b8 contributing: Tidy and clarify
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-03 15:54:20 +02:00
Chris Crone
e149fa29b9 docs: Add architecture diagram
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-03 15:49:00 +02:00
Guillaume Tardif
81f2496b5e Allow Ctrl+C to cancel CLI when using Azure Device Code Flow login
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-03 15:38:38 +02:00
Guillaume Tardif
9b0dd5d8cd
Merge pull request #575 from docker/aci_login_fallback
Azure fallback to device code flow if we can’t open a browser
2020-09-03 08:59:39 +02:00
guillaume.tardif
bb58290eeb invoke browser with Run rather than Start, to get errors (on wsl no interop setup, and more generally if the browser app returns an error)
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2020-09-02 17:31:04 +02:00
Guillaume Tardif
909be662ee Azure fallback to device code flow if we can’t open a browser (some WSL2 scenarios)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-02 15:46:17 +02:00
Nicolas De Loof
7104b8126a
another hack-ish hack to support compose logs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-01 16:02:06 +02:00
Nicolas De Loof
4bd8a8860f
implement "down" with (yet another) docker-compose hack
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-01 15:35:31 +02:00
Guillaume Tardif
c7e2db077e
Merge pull request #544 from docker/simulation
Introduce ECS emulation mode
2020-09-01 15:18:32 +02:00
Guillaume Tardif
eb0af4b711
Merge pull request #572 from chris-crone/readme-minor-fixes
readme: Minor fixes
2020-09-01 11:56:52 +02:00
Chris Crone
770a9312f0 readme: Minor fixes
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-01 11:51:56 +02:00
Guillaume Tardif
217da21514
Merge pull request #568 from docker/ecs_e2e_down
Wait only for the first “DELETE_COMPLETE” line when running `docker compose down`
2020-09-01 10:11:11 +02:00
Guillaume Tardif
58cb3491ae Wait only for the first “DELETE_COMPLETE” line when running docker compose down (~4 secs, instead of waiting 8-9 mins for the entire aws stack to be deleted), and let aws fully delete stack async.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-01 09:33:13 +02:00
Nicolas De Loof
4d11594df0
default description if none set by user
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-31 17:10:59 +02:00
Nicolas De Loof
4693ce91f6
e2e test to check ecs-local context creation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-31 16:54:02 +02:00
Guillaume Tardif
b9153961ab
Merge pull request #564 from docker/aci_compose_ps
Implement compose ps on ACI
2020-08-31 16:43:07 +02:00
Nicolas De Loof
fed50d79f2
introduce ecs-local context
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-31 15:30:05 +02:00
Nicolas De Loof
c1ecb2b7be
Check we have compose 1.27 or later
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-31 10:01:53 +02:00