2049 Commits

Author SHA1 Message Date
Guillaume Tardif
6859413a5d Moving last things from /tests, removing dead code
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 15:48:48 +01:00
Guillaume Tardif
46935b0300 Move tests to each backend folder
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 15:25:26 +01:00
Nicolas De loof
ed67111b3d
Merge pull request #1155 from docker/remove_example_backend 2021-01-19 11:55:19 +01:00
Nicolas De loof
6504a9b7b1
Merge pull request #1156 from ndeloof/env-file
Introduce --env-file
2021-01-19 11:46:56 +01:00
Guillaume Tardif
aca816d5d6 Remove example backend.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 11:29:48 +01:00
Nicolas De Loof
ed18cefc04
Introduce --env-file
fixes #1152

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-19 11:07:13 +01:00
Nicolas De loof
c881e22ab8
Merge pull request #1143 from aiordache/local_volume_override 2021-01-18 21:20:34 +01:00
Nicolas De loof
aaba5b3ac7
Merge pull request #1154 from ndeloof/stalebot
enable and configure stalebot
2021-01-18 15:38:16 +01:00
Nicolas De Loof
dbaf1c0030
enable and configure stalebot
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-18 15:22:41 +01:00
aiordache
3e3f94c161 update tests
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-18 11:58:21 +01:00
aiordache
774234750d Parse volumes_from
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-18 11:06:09 +01:00
Nicolas De loof
268b3f65b0
Merge pull request #1144 from docker/down_with_file
run "down" using project if it was set for command
2021-01-18 10:53:46 +01:00
Nicolas De Loof
e4682a0565
run "down" using project if it was set for command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-18 10:43:52 +01:00
Nicolas De loof
54020db517
Merge pull request #1150 from gtardif/refacto_folders
Refacto folders
2021-01-15 19:25:16 +01:00
Guillaume Tardif
907ba0c03e Removed unit tests (using example context) that are in fact duplicates of e2e tests in test/e2e
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 17:28:46 +01:00
Guillaume Tardif
2a8c24e4ff Move config => api/config
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:55:10 +01:00
Guillaume Tardif
f1ac6d4fdc Move errdefs => api/errdefs
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:54:18 +01:00
Guillaume Tardif
5e20ffdc50 Move prompt => utils/prompt
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:49:12 +01:00
Guillaume Tardif
fe39267e3a Move formatter => cli/formatter. Needed to move formatter.MemBytes => utils.MemBytes (helper class on memory display)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:47:30 +01:00
Guillaume Tardif
0ea97920c1 Move Context & context/store => api/context & api/context/store
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:31:59 +01:00
Guillaume Tardif
930ae8bdb2 goimports -local github.com/docker/compose-cli -w . ; gofmt -s -w .
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:24:00 +01:00
Guillaume Tardif
801e747adb Move context/cloud => api/cloud
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 16:23:53 +01:00
Guillaume Tardif
4dee783aba Move progress => api
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-15 15:57:24 +01:00
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
aiordache
747d2de397 cleanup
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-14 13:20:35 +01:00
aiordache
515f3ba1e7 Revisit volume implementation
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-14 12:35:04 +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