Commit Graph

2024 Commits

Author SHA1 Message Date
Guillaume Tardif deb7bc34e0 Move protos => cli/server/
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 15:49:44 +01:00
Guillaume Tardif 6a8b344885 Move backend => api
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 15:44:42 +01:00
Guillaume Tardif cd10d8eaa4 Move server => cli
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 15:32:21 +01:00
Guillaume Tardif 65f53dff43 move metrics => cli
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 15:26:35 +01:00
Guillaume Tardif 80da160da6
Merge pull request #1136 from docker/compose_unit_test_networks
Compose unit test networks & volumes
2021-01-14 10:34:13 +01:00
Guillaume Tardif 8bb4aeb901 Adjust aws test : actual volume name is set as tag, previously was key
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-14 10:13:05 +01:00
Guillaume Tardif 8ab3149f45 Network names and volume names don’t need anymore to be re-adapted (and prefixed with project name) after loaded from compose-go
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-14 10:07:29 +01:00
Guillaume Tardif 7dd3a5a1eb Remove duplicate compute of image name & add unit test
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-13 17:30:01 +01:00
Guillaume Tardif c1405aeaa3
Merge pull request #1126 from ndeloof/main
We actually support volume labels and driver_opts
2021-01-13 14:28:55 +01:00
Nicolas De Loof 609eeb0962
We actually support volume labels and driver_opts
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-13 10:15:57 +01:00
Nicolas De loof 240e62caed
Merge pull request #1125 from gtardif/flaky_compose_run
Move check that container exited after inspecting container
2021-01-13 10:09:07 +01:00
Guillaume Tardif 48421622c0 Move check that container exited after inspecting container, hopefully this will fix flakyness ont his test
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-12 17:26:27 +01:00
Guillaume Tardif 4a4e6be1cb
Merge pull request #1124 from docker/aci_resolve_containername_alias
Support container_name in ACI and add network alias in dns sidecar.
2021-01-12 16:38:58 +01:00
Nicolas De loof d2d3a949d8
Merge pull request #1123 from docker/ecs_LB_vpc
Use LoadBalancer's VPC and subnet when x-aws-loadbalancer is set
2021-01-12 16:33:16 +01:00
Nicolas De Loof 075f54713e
Use LoadBalancer's VPC and subnet when x-aws-loadbalancer is set
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-12 16:02:35 +01:00
Guillaume Tardif 010c4be6b2 Support container_name in ACI and add network alias in dns sidecar.
(Note container_name is used in several MSFT examples)

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-12 15:44:37 +01:00
Nicolas De loof f6e5c911ce
Merge pull request #1122 from docker/s3_bucket_conflict
s3 bucket name must be unique. Create bucket with uuid name
2021-01-12 12:08:39 +01:00
Nicolas De Loof 336ea9a7d3
s3 bucket name must be unique. Create bucket with uuid name
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-12 11:37:21 +01:00
Nicolas De loof a851dfd0d1
Merge pull request #1116 from docker/ecs_overlays
add support for overlays on generated cloudformation template
2021-01-11 17:42:03 +01:00
Nicolas De Loof 5c4a940de2
add support for overlays on generated cloudformation template
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-11 17:20:57 +01:00
Nicolas De loof ec14a96927
Merge pull request #1120 from docker/resolve_digestmake
Resolve service images by digest before deploying to ECS
2021-01-11 17:18:32 +01:00
Nicolas De Loof e17accab49
Resolve service image by digest before deploying to ECS
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-11 16:39:08 +01:00
Guillaume Tardif 2287d44851
Merge pull request #1119 from docker/flaky_aci_restart
Do not fil on first error on ACI restart, allow trying a second time
2021-01-11 14:25:02 +01:00
Guillaume Tardif e658e1e531
Merge pull request #1118 from gtardif/metrics_not_send_if_cli_backend
Do not send metrics if executed as CLI backend
2021-01-11 14:21:40 +01:00
Guillaume Tardif 3a06e1fde0 Do not fil on first error on ACI restart, allow trying a second time
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-11 11:15:17 +01:00
Guillaume Tardif 8b3b634b04
Merge pull request #1114 from docker/setup-dockercli-gha
Setup docker cli on gha
2021-01-11 11:13:47 +01:00
Nicolas De loof 947009d772
Merge pull request #1113 from docker/local_inline_secrets 2021-01-11 10:31:32 +01:00
Guillaume Tardif 924d92a817 Do not send metrics if executed as CLI backend
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-08 17:58:03 +01:00
aiordache 30d6e1b9e2 override inherited secret mounts
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-08 16:33:30 +01:00
Ulysses Souza bc787a1a70 Setup docker cli on gha
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-08 11:40:35 -03:00
Guillaume Tardif bf5b8f9b8a
Merge pull request #1079 from docker/container_name
Use `container_name` property on service
2021-01-08 14:26:33 +01:00
aiordache ebeef45e85 Implement secrets via bind-mounts for local compose
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-08 11:29:14 +01:00
Guillaume Tardif 7a6712afdb Do not inspect for double container name at creation time, this has already been checked, let moby error bubble up if there is a name clash at this stage
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-08 10:59:58 +01:00
Ulysses Souza 0021b14de8 Add unit tests to container_name
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-08 10:05:53 +01:00
Ulysses Souza b3993230d1 Add network alias to container name
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-07 17:06:40 -03:00
Ulysses Souza b264e1814b Add warning on container_name and scale > 1
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-07 17:06:40 -03:00
Ulysses Souza 8976a20698 Use `container_name` property on service
This applies `container_name` when available in
the service definition.

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-07 17:06:40 -03:00
Nicolas De loof d12ffe92a4
Merge pull request #1111 from docker/ecs_dev_req
ECS: Parse DeviceRequest struct for GPU access setup
2021-01-07 17:01:34 +01:00
aiordache fef73b8af3 Parse reservation.devices for GPU requests
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-07 16:27:15 +01:00
Nicolas De loof c6cdfec530
Merge pull request #1110 from docker/ecs_paginate
handle API pagination
2021-01-07 16:06:04 +01:00
Nicolas De Loof 59d17a45a0
handle API pagination
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-07 10:32:15 +01:00
Nicolas De loof 1cf48318a4
Merge pull request #1106 from docker/orphans
introduce --remove-orphans option
2021-01-07 10:16:43 +01:00
Nicolas De loof f87edcf276
Merge pull request #1107 from aiordache/local_gpu_support 2021-01-07 10:10:47 +01:00
aiordache 31e40176da Add GPU support via DeviceRequests
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-07 10:00:19 +01:00
Nicolas De Loof 4de01936f8
introduce --remove-orphans option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-06 14:36:59 +01:00
Guillaume Tardif 6e8975db79
Merge pull request #1105 from docker/flaky_aci
Improving ACI E2E tests with platform flakyness
2021-01-06 14:28:03 +01:00
Guillaume Tardif f3c017f502 Trying to address more ACI flakyness, on container restart
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-06 11:17:55 +01:00
Guillaume Tardif 2f4a84baff Fixed assertion after retry due to ACI flakyness on prune
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-06 11:17:55 +01:00
Nicolas De loof ba3b057b8e
Merge pull request #1103 from gtardif/flaky_down
When running compose down, remove containers with Force=true
2021-01-06 10:42:17 +01:00
Nicolas De loof 849fbed1ac
Merge pull request #1100 from docker/ecs-secrets-cleanup
Remove unnecessary retry in ECS secrets test
2021-01-06 10:28:27 +01:00