Commit Graph

1950 Commits

Author SHA1 Message Date
guillaume.tardif 4489f39e5d duplicate windows os/exec.LookPath() and do not resolve files in current working dir if CWD is not explicitly in PATH.
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2020-11-05 16:43:17 +01:00
Nicolas De loof 3afc1cd43d
Merge pull request #867 from docker/local-improvements 2020-11-05 14:40:37 +01:00
Nicolas De loof c6fc0e116f
Merge pull request #879 from docker/acceskey_file
Flag to import access key & secret from file
2020-11-05 14:08:51 +01:00
Nicolas De loof ba0d7c61f1
Merge pull request #883 from docker/no_changes 2020-11-05 14:06:41 +01:00
Nicolas De Loof e99a8b54f8
Detect changeset creation failure when there's no changet
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-05 13:39:52 +01:00
Guillaume Tardif 2121cc5ca6
Merge pull request #878 from gtardif/remove_obsolete_hidden_json_flag
Remove obsolete flag `docker context ls --json` (that was marked hidden)
2020-11-05 13:38:12 +01:00
Guillaume Tardif 0720767d1e Adding unit test on context conversion
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-05 12:42:58 +01:00
Nicolas De Loof cb02622318
Marshall cloudformation template as yaml
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-05 11:01:32 +01:00
Guillaume Tardif 6cdcc7cb3e Add context details in API context ls: docker endpoint host, ACI region, resource group, subscription id, ECS profile. Also added context description
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-04 17:39:15 +01:00
Nicolas De Loof 44c58e7806
Flag to import access key & secret from file
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-04 17:20:10 +01:00
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