Commit Graph

1382 Commits

Author SHA1 Message Date
Guillaume Tardif 79d671f1eb
Merge pull request #644 from docker/fix_edge_cases
Fix edge cases
2020-09-24 13:45:53 +02:00
Guillaume Tardif 7eda96bea4 Fix nil pointer when creating volume with “” storage account
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-24 12:59:29 +02:00
Nicolas De Loof b30cd649b9
Dispatch methods into more specific files
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-24 10:32:46 +02:00
Guillaume Tardif 652423bf39
Merge pull request #642 from docker/cache-deps
Cache Go modules
2020-09-24 10:18:19 +02:00
Guillaume Tardif 7e534153f3 Avoid nil panic when no progress writer in context, add noop writer. (Especially for gRPC invocations)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-24 10:16:03 +02:00
Nicolas De Loof ed5d774180
createPolicies to rely on project/service not converted aws model
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-24 08:27:32 +02:00
Nicolas De loof 767ed0c20d
Merge pull request #633 from docker/ec2 2020-09-24 08:26:25 +02:00
Chris Crone 201a37581f deps: Bump modules
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-23 19:06:45 +02:00
Chris Crone 66c9094e2d build: Remove unneeded mounts
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-23 19:06:45 +02:00
Chris Crone 5aa14ef911 build: Use BuildKit cache for modules
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-23 19:06:40 +02:00
Nicolas De loof d2a4645e7d
Merge pull request #639 from docker/architecture
architecture document
2020-09-23 16:34:58 +02:00
Nicolas De loof 91a668a413
Merge pull request #641 from docker/fix_metrics_default_context
In metrics, send context type, not context name (metrics for Moby calls)
2020-09-23 16:22:57 +02:00
Guillaume Tardif 8302266212 In metrics, send context type, not context name (metrics for Moby calls)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-23 16:12:09 +02:00
Nicolas De Loof 6a226ace9d
disable LoadBalancer healthCheck
compose-spec only support command-based health check.
we need to investigate introducing URI-based health check support

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-23 16:05:29 +02:00
Nicolas De Loof 6f0ba3bac5
architecture document
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-23 12:19:34 +02:00
Nicolas De Loof d57a39958b
Compute machine type matching reservations
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-23 12:18:42 +02:00
Nicolas De Loof f2430afa06
Fix CPU limit computation targetting EC2
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-23 10:56:32 +02:00
Nicolas De Loof 2cfaf69546
Distinguish limits for Fargate and EC2
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-23 09:40:07 +02:00
Guillaume Tardif 64cd8ebf8c
Merge pull request #632 from docker/eula-packaging
Add Docker EULA to packages
2020-09-23 09:32:36 +02:00
Nicolas De Loof 109ba96743
Run on EC2 when a service require GPU
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-23 09:31:16 +02:00
Guillaume Tardif dd57e9e646 Binary is named docker inside tar, docker.exe inside zip package
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-23 09:21:51 +02:00
Chris Crone 2e6d739fc8 scripts: Add test for CentOS
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 15:04:16 +02:00
Chris Crone 121bc3b2e9 scripts: Update Linux install scripts
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 15:04:16 +02:00
Chris Crone 2aea82a7c6 packaging: Add EULA
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 15:04:16 +02:00
Chris Crone c549d85505 makefile: Tidy up
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 15:04:16 +02:00
Guillaume Tardif d42a931d67
Merge pull request #631 from docker/aci_domainname
ACI: allow users to set DNSLabelName and deploy containers with fqdn like `myapp.eastus.azurecontainers.io`
2020-09-22 15:00:28 +02:00
Guillaume Tardif cf3bb18c0e User compose.service.domainname rather than custom ACI extension for ACI DNSLabelName
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-22 14:44:22 +02:00
Guillaume Tardif 334ebf5f75 Implement --domainname flag on compose up, also defining compose extension "x-aci-domain-name" to store ACI DNSLabelName.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-22 14:41:31 +02:00
Guillaume Tardif 268c02523a Only add `--domainname` flag to `docker run` in ACI context
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-22 14:41:31 +02:00
Guillaume Tardif 701d1b834e ACI: allow users to set DNSLabelName and deploy containers with fqdn like `myapp.eastus.azurecontainers.io`
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-22 14:41:31 +02:00
Guillaume Tardif 7abdb085c0
Merge pull request #637 from docker/volume_tests
Added tests on ACI volume conversion, mock storageLogin required to get storage account keys
2020-09-22 14:40:46 +02:00
Guillaume Tardif 0092de6df1 Added tests on ACI volume conversion, mock storageLogin required to get storage account keys
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-22 14:24:12 +02:00
Guillaume Tardif f42e05fcc3
Merge pull request #636 from docker/update-copyright
Update copyright
2020-09-22 12:21:16 +02:00
Guillaume Tardif 772493d70d
Merge pull request #617 from ulyssessouza/volumes_ro
Add 'readOnly' capability to volumes on ACI
2020-09-22 12:14:31 +02:00
Chris Crone d154c41586 Update copyright
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 12:13:00 +02:00
Guillaume Tardif 01ea2488a2
Merge pull request #630 from docker/cli_metrics_failures
Cli metrics failures
2020-09-18 18:26:54 +02:00
Nicolas De loof 57c14e70e1
Merge pull request #628 from docker/machine
Guess AWS machine type based on service resources reservations
2020-09-18 17:05:54 +02:00
Nicolas De loof b22ebd61c4
minor error improvement to match AWS docs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

Co-authored-by: Chris Crone <christopher.crone@docker.com>
2020-09-18 16:44:17 +02:00
Guillaume Tardif 6f19bbfd5e We can’t anymore “fire and forget”, now that metrics get posted right at the end, most of the time we’d loose them.
Give it max 50 ms to post metrics, that’s plenty, post call ends in ~2 ms or less when desktop is up, less than one ms to fail the post when DD is not listening.

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-18 15:57:02 +02:00
Guillaume Tardif a71b2a39bd Add status field in API metrics
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-18 15:22:34 +02:00
Ulysses Souza 02d59ae510 Add 'readOnly' capability to volumes on ACI
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-09-18 12:07:42 +02:00
Guillaume Tardif 3ccc603461 Add status field in CLI metrics : success, failure, cancelled
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-18 10:47:50 +02:00
Guillaume Tardif 10372b7098
Merge pull request #625 from docker/aci_context_create_no_sub
Check specified subscription in context create and if not found, prompt users they might need to login with -—tenant-id.
2020-09-17 22:29:06 +02:00
Guillaume Tardif 292ec55f46 Check specified subscription in context create and if not found, prompt users they might need to login with -—tenant-id.
Cf https://github.com/docker/aci-integration-beta/issues/27

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-17 22:05:43 +02:00
Guillaume Tardif e6925b4217
Merge pull request #629 from docker/fix_windows_ci
Changing e2e test PATH to make windows tests pass
2020-09-17 17:25:20 +02:00
Guillaume Tardif 17bda79ca1 Changing e2e test PATH to make windows tests pass
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-17 17:13:05 +02:00
Nicolas De Loof 101e1555b8
Some more functional design
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-09-17 12:44:55 +02:00
Guillaume Tardif d320d5460c
Merge pull request #621 from gtardif/ci_minor_changes
Minor CI changes
2020-09-17 12:20:48 +02:00
Guillaume Tardif d945c34a55 Adding badge for cloud integration tests.
testing effect of https://github.com/docker/compose-cli/pull/620

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-17 12:19:04 +02:00
Guillaume Tardif dae9ab7bb0
Merge pull request #627 from docker/fix_no_home
Fix context store when no home defined
2020-09-17 11:40:40 +02:00