Commit Graph

1790 Commits

Author SHA1 Message Date
Chris Crone 74a27541e4 backend.local: Add volume e2e test
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 15:50:28 +01:00
Guillaume Tardif db7d04db79 Remove obsolete flag `--json` (that was marked hidden), kept for VSCode extension but is not used, `docker context ls --format “{{ json . }}”` is used.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-04 14:54:01 +01:00
Guillaume Tardif 4b88896547
Merge pull request #876 from docker/ecs_pin_secret_sidecar
Pin ECS secrets sidecar image & add makefile targets
2020-11-04 10:59:53 +01:00
Chris Crone db3a14694b backend.local: Add command support
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 10:43:04 +01:00
Guillaume Tardif 8cc438c9a5 Pin ECS secrets sidecar image & add makefile targets
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-04 10:30:46 +01:00
Chris Crone 318e8c6e8b api: Fix typo
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone 42eb0ecc35 backend.local: Add rudimentary volume support
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone 637dd263c9 backend.local: Refactor container service
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone b2dcae685a backend.local: Add restart policy support to run
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone b8adb4b3dd backend.local: Refactor conversion code
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone 6a9eca9bdf backend.local: Add memory limits
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone 47aa069a3d backend.local: Add CPU limits
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone 42f31d3129 backend.local: Improve inspect
* Add restart policy
* Add environment
* Add labels
* Add auto remove

Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone dce884d5c8 backend.local: Set environment on run
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-04 09:54:29 +01:00
Chris Crone 4fc73d1cdf
Merge pull request #873 from docker/test-golang
Replace Python test image with Go binary
2020-11-04 09:46:40 +01:00
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 f48d8243bd
Merge pull request #872 from docker/ecs_secrets_e2e
Changed test img to `dockerinternal` org + ECS E2E secret validation
2020-11-03 18:24:52 +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 084a04fdd9
Merge pull request #866 from docker/token
DescribeSubnets uses pagination
2020-11-03 11:46:21 +01:00
Nicolas De loof f66123b34a
Merge pull request #846 from docker/ecs_context 2020-11-03 11:38:06 +01:00
Nicolas De Loof af7aebf8cf
Make newcomer experience smooth
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-03 10:49:28 +01:00
Nicolas De Loof a0addb7dcb
DescribeSubnets uses pagination
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-03 10:45:40 +01:00
Nicolas De loof 7018477407
Merge pull request #859 from flaviostutz/env-sort
Sorting env pair array to avoid creating different CloudFormation templates between calls
2020-11-03 06:34:32 +01:00
Nicolas De loof cc997a409a
Merge pull request #862 from docker/progress_output_display
Display ecs status in CamelCase in order to have homogeneous output between backends.
2020-11-02 13:55:10 +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 8deee73857
Merge pull request #860 from gtardif/aci_bettre_clean_e2e_resource_groups
Nicer cleanup make target for ACI resources
2020-11-02 11:30:53 +01:00
Nicolas De loof 40da66f04a
Merge pull request #861 from gtardif/non_beta
Update main readme mission statement to mention Compose applications & remove beta warning
2020-11-02 11:22:50 +01:00
Guillaume Tardif d48c6b844c Update main readme mission statement to mention Compose applications, remove Beta warning, add ACI example on CI deployments
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-02 10:26:58 +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
Guillaume Tardif 72377355a9 Nicer cleanup make target for ACI resources
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-02 09:40:15 +01:00
flaviostutz 49f2283646 sorting env pair array to avoid creating different cloudformation templates between calls
Signed-off-by: flaviostutz <flaviostutz@gmail.com>
2020-10-31 18:06:18 -03:00
Nicolas De loof dc8a432352
Merge pull request #857 from docker/ecs_pin_search_sidecar_image
Pinned and publish docker/ecs-searchdomain-sidecar:1.0
2020-10-31 10:40:32 +01:00
Nicolas De loof 714ed52d98
Merge pull request #852 from flaviostutz/custom-vpc-bug
Fixing empty vpcId that prevented custom VPCs to work
2020-10-31 10:29:54 +01:00
aiordache 3066a1cdad cleanup
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-30 18:50:56 +01:00
Guillaume Tardif 3cfb252ff0 Pinned and publish docker/ecs-searchdomain-sidecar:1.0
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-30 18:35:28 +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
aiordache de0be8650e Remove region from contexts and cleanup
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-10-30 17:51:16 +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
flaviostutz 25c5a8cd72 fixing empty vpcId
Signed-off-by: flaviostutz <flaviostutz@gmail.com>
2020-10-30 10:49:04 -03:00
Guillaume Tardif 24b40e1a8d
Merge pull request #854 from gtardif/retro-compat-context-json-list
Revert breaking change on `docker context ls —format “{{ json . }}`
2020-10-30 13:43:46 +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 810461179b
Merge pull request #850 from docker/fix_path_appending
Fix path appending
2020-10-29 17:47:13 +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
Guillaume Tardif b604ba6246 Fix 2 corner cases with PATH settings
* windows PATH should use windows separator (;)
* do not add separator if initial PATH is empty (was creating PATH=:/path)

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-29 15:35:22 +01:00
Guillaume Tardif 5e809acd87 Use OS-dependant pathListSeparator, when appending to PATH
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-29 15:09:38 +01:00
Guillaume Tardif 2ff803bf44
Merge pull request #842 from gtardif/remove_aci_integration_docs
Remove aci-integration.md, all info moved to docs.docker.com
2020-10-29 14:04:00 +01:00