Guillaume Tardif
|
3f474143ad
|
Merge pull request #1163 from docker/stop-on-ctrlc
Stop project on Ctrl+C
|
2021-01-26 17:08:32 +01:00 |
Nicolas De Loof
|
f33eff5903
|
introduce `--filter` option on `compose ls`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-01-22 10:27:56 +01:00 |
Ulysses Souza
|
0529415fa7
|
Stop project on Ctrl+C
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-01-20 10:02:59 -03:00 |
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 |
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
|
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
|
6a8b344885
|
Move backend => api
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 15:44:42 +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 |
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 |
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
|
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
|
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 |
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 |
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 |
Nicolas De Loof
|
b560f0cbe9
|
Added a diagnostic log for region mismtach
should help to diagnose #1084 #1056
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-01-04 14:14:45 +01:00 |
Guillaume Tardif
|
32d5644937
|
Pass reader Writer as options to backend, remove hardcoded os.Stdout
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 10:01:06 +01:00 |
Guillaume Tardif
|
76f36a69c6
|
Reusing existing Create() and Start() API
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 10:00:18 +01:00 |
aiordache
|
412385c495
|
Add `compose run` command
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-12-18 09:58:55 +01:00 |
Nicolas De Loof
|
eda6a59379
|
introduce options struct in the API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-17 11:10:57 +01:00 |
Nicolas De Loof
|
855a879a6a
|
Introduce `removeOrphans` to cleanup injected AWS simulation container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-17 10:46:17 +01:00 |
Nicolas De Loof
|
db5467ce22
|
Use local compose implementation for local ecs simulation context
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-17 10:46:16 +01:00 |
Nicolas De Loof
|
056dfb95bc
|
allow to collect logs for a subset of project services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-17 10:32:46 +01:00 |
Nicolas De Loof
|
06742e3c35
|
Support user passing an ARN for x-aws-vpc
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-16 10:37:16 +01:00 |
Nicolas De Loof
|
b9a3025865
|
Only consider public subnets
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-15 12:57:24 +01:00 |
Nicolas De Loof
|
446008a4b6
|
on ACI container ID is `project_service` and name is `service`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-09 14:39:10 +01:00 |
Nicolas De Loof
|
1d859dc807
|
`Ps` return ContainerSummary, not Services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-09 10:33:51 +01:00 |
Nicolas De Loof
|
ca123e08eb
|
Revisit logs/up API to pass a LogConsumer vs io.Writer
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-07 14:47:44 +01:00 |
Nicolas De Loof
|
136d09e1ac
|
split `Up` into `Create`+`Start` so logs don't collide with progress
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-04 08:16:50 +01:00 |
Nicolas De Loof
|
39e4107e12
|
attach to log stream by default on `up`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-03 16:51:00 +01:00 |
Djordje Lukic
|
2f09b634cc
|
Implement `docker compose pull`
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
|
2020-12-03 16:14:38 +01:00 |
Nicolas De Loof
|
52574046f0
|
introduce `compose push` command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-01 14:55:52 +01:00 |
Nicolas De Loof
|
5952183eca
|
introduce `compose build` command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-30 12:43:38 +01:00 |
Guillame Tardif
|
4d1f265c62
|
Adding error progress indication when errors
Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
|
2020-11-27 18:18:14 +01:00 |
Guillame Tardif
|
7ddd8e5e97
|
Helper methods to create progress events, more homogeneous display for “creating”, “Created”, …
Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
|
2020-11-27 17:55:36 +01:00 |
Nicolas De loof
|
bbcf445f1f
|
Merge pull request #919 from docker/compose-in-go
|
2020-11-17 16:23:42 +01:00 |
Nicolas De Loof
|
9ec075baff
|
document public types
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-17 11:57:38 +01:00 |
Nicolas De Loof
|
74de423cc3
|
reuse ECS logConsumer to implement formatted compose log output
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-17 11:28:08 +01:00 |
Nicolas De Loof
|
976eacd198
|
pass json encoded compose file to docker-compose to prevent yaml format mismatch
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-17 11:02:31 +01:00 |
Nicolas De loof
|
a05df9490b
|
Merge pull request #913 from docker/gpu_spec
Add support for gpu devices reservation
|
2020-11-16 17:36:04 +01:00 |
Nicolas De Loof
|
cb808dec31
|
Don't mess with exiting .aws/credentials
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-16 14:51:05 +01:00 |
Nicolas De Loof
|
efd0f2b9ec
|
Add support for gpu devices reservation
Adopt https://github.com/compose-spec/compose-spec/pull/100
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-16 14:24:25 +01:00 |
Nicolas De Loof
|
8438eee612
|
Use reservations if user has not set limits
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-12 10:57:34 +01:00 |
Guillaume Tardif
|
949f0ce62e
|
Merge pull request #897 from docker/volume_conflict
Don't panic on bind mount
|
2020-11-10 17:09:53 +01:00 |
Nicolas De Loof
|
8e847bfd9a
|
Include volume name in PolicyName to disambiguate
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-10 15:47:16 +01:00 |
Nicolas De Loof
|
06fd442a53
|
Don't panic on bind mount
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-10 15:47:04 +01:00 |
Nicolas De Loof
|
71ecbda48f
|
Publish on s3 if payload is > API limit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-10 11:03:00 +01:00 |
Nicolas De Loof
|
10a384d35b
|
Pass region to create s3 bucket into
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-10 08:40:02 +01:00 |
Nicolas De Loof
|
3f184f7552
|
store cloudformation template on s3 to workaround API limit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-10 08:40:02 +01:00 |
Guillaume Tardif
|
5c04e84e49
|
Merge pull request #882 from docker/yaml
Marshall cloudformation template as yaml
|
2020-11-06 13:51:12 +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 |
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
|
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 |
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 |
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 |
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 |
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 |
aiordache
|
de0be8650e
|
Remove region from contexts and cleanup
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-30 17:51:16 +01:00 |
flaviostutz
|
25c5a8cd72
|
fixing empty vpcId
Signed-off-by: flaviostutz <flaviostutz@gmail.com>
|
2020-10-30 10:49:04 -03:00 |
aiordache
|
879afa85c0
|
fix lint issues
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-29 11:33:56 +01:00 |
aiordache
|
2fdc93786e
|
Fix region from environment
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-29 10:51:57 +01:00 |
aiordache
|
53efa312c8
|
Refactor context create options
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-29 10:25:23 +01:00 |
aiordache
|
e44d0b922a
|
cleanup
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-29 10:10:00 +01:00 |
aiordache
|
902b660de1
|
revisit context creation
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-29 10:10:00 +01:00 |
aiordache
|
2dcd1a5826
|
refactor ecs context creation
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-29 10:10:00 +01:00 |
Gergely Imreh
|
d6461df474
|
cloudformation: fix typo in generated ingress description
Signed-off-by: Gergely Imreh <imrehg@gmail.com>
|
2020-10-28 22:44:20 +00:00 |
Guillaume Tardif
|
c1504d484f
|
Docs: adding docs README, moving ecs docs in docs folder, removing obsolete cli docs
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-10-28 10:44:42 +01:00 |
Guillaume Tardif
|
0d197401a2
|
Fix Dockerfile syntax in ecs sidecars introduced by https://github.com/docker/compose-cli/pull/799
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-10-26 16:42:51 +01:00 |
Guillaume Tardif
|
382827241d
|
Merge pull request #799 from docker/aci_etchosts
minimalist container image to setup /etc/hosts on ACI
|
2020-10-26 15:58:19 +01:00 |
aiordache
|
78931b3efa
|
Enable cross zone load balancing
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-22 15:19:00 +02:00 |
Nicolas De loof
|
34a7466571
|
Merge pull request #817 from docker/scalescale
Configure autoscaling parameters
|
2020-10-21 10:56:28 +02:00 |
Nicolas De Loof
|
553865f294
|
minimalist container image to setup /etc/hosts on ACI
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-10-21 10:25:05 +02:00 |
Nicolas De loof
|
ed69f38b44
|
Merge pull request #813 from docker/ecsVolumeService
CLI command to manage ECS volumes
|
2020-10-20 16:58:13 +02:00 |
Nicolas De loof
|
d5ed2bdecf
|
Merge pull request #818 from docker/ecs_event_status
Remove status truncate on wait
|
2020-10-20 16:57:53 +02:00 |
Nicolas De Loof
|
de96a0c1d0
|
CLI command to manage ECS volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-10-20 16:52:50 +02:00 |
Nicolas De loof
|
75a5a0f205
|
Merge pull request #812 from docker/barbarian
Introduce use of EFS Access Point to mount filesystems as volumes
|
2020-10-20 16:23:50 +02:00 |
aiordache
|
4add3a1662
|
Remove status truncate from wait and calculate max length in the progress writer based on the terminal width
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-20 16:18:08 +02:00 |
Nicolas De loof
|
1c211550fc
|
Merge pull request #696 from docker/ec2_machine
Allow user to set ami/machine by Deploy.Placement.Constraint
|
2020-10-20 11:19:29 +02:00 |
Nicolas De Loof
|
a3221341da
|
Configure autoscaling parameters
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-10-20 11:05:44 +02:00 |
Nicolas De Loof
|
6fa30284d9
|
Introduce use of EFS Access Point to mount filesystems as volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-10-20 10:52:33 +02:00 |
Nicolas De loof
|
dfd660d401
|
Merge pull request #735 from docker/ecs_secret_stdin
Add password file argument to secret create (handles '-' as stdin read)
|
2020-10-20 10:31:54 +02:00 |
aiordache
|
8f31ad59be
|
Refactor secrets
- create secrets from files
- update Secret structure
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-10-19 11:33:55 +02:00 |
flaviostutz
|
a85f0042d6
|
fix "autoscaling" typo
Signed-off-by: flaviostutz <flaviostutz@gmail.com>
|
2020-10-18 21:14:23 -03:00 |