Commit Graph

3267 Commits

Author SHA1 Message Date
Christopher Crone cbfcd5cf64 Add dockerignore
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 15:03:46 +02:00
Ulysses Souza 31ad0385b2
Merge pull request #13 from ulyssessouza/dockerize-build
Dockerize build
2020-04-24 14:44:51 +02:00
Ulysses Souza 9c6a9957aa
Merge pull request #18 from ulyssessouza/refactoring-context
Refactor NewContext
2020-04-24 14:44:10 +02:00
Christopher Crone d166ad82f9 Update copyright date
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 14:39:49 +02:00
Ulysses Souza 88aef2e4e2 Dockerize build and proto gen
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-24 14:20:42 +02:00
Guillaume Lours f393dea175
Merge pull request #19 from chris-crone/clean-gitignore
Remove non-project path
2020-04-24 14:13:41 +02:00
Christopher Crone fcc7582826 Remove non-project path
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 14:04:27 +02:00
Ulysses Souza b44547c71f Refactor NewContext
This renames NewContext to NewSigContext and
moves it to ./util/util.go avoiding the servers
to import "github.com/docker/api/client"

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-24 11:50:30 +02:00
Nicolas De Loof f8bf0078aa Use DescribeCluster as ListCluster is a Paginated API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-24 10:13:38 +02:00
Djordje Lukic 667d1fa37e
Merge pull request #16 from rumpl/feat-containers-proto
Add containers proto from docker/d2
2020-04-23 21:21:09 +02:00
Nicolas De Loof ea6d35a927 Fix minor issue after merge conflit resolution
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-23 16:19:47 +02:00
Nicolas De Loof 5be037dae1 Merge branch 'aiordache-cluster-create' 2020-04-23 14:55:52 +02:00
Nicolas De Loof a1c91ac4c2 Merge branch 'cluster-create' of github.com:aiordache/ecs-plugin into aiordache-cluster-create
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-23 14:55:41 +02:00
aiordache 3d7e062215 add delete-cluster flag on down cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-23 14:50:18 +02:00
Djordje Lukic d473b83b00 Add containers proto from docker/d2 2020-04-23 12:25:14 +02:00
Djordje Lukic 29a838ddf5
Merge pull request #15 from glours/find_existing_docker_binary
Use docker binary find in path to fallback to Moby CLI
2020-04-23 11:32:13 +02:00
Nicolas De Loof 48096eeed8 DescribeStacks fail with error if stack does not exists
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-23 11:19:59 +02:00
Djordje Lukic 5cc722da4a
Merge pull request #14 from glours/upgrade_urfave_cli
Use v2 of urfave/cli
2020-04-23 10:07:00 +02:00
aiordache 3c9905c474 tidy up go mod
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-23 09:45:50 +02:00
Guillaume Lours 8db55e8c5c Use v2 of urfave/cli
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-23 09:43:53 +02:00
Guillaume Lours 8af8924a58 Use docker binary find in path to fallback to Moby CLI
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-22 23:47:04 +02:00
aiordache 55f2908c16 wait for stack removal on cluster delete
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-22 16:49:55 +02:00
Nicolas De Loof 5110cb6b85 Basic architecture documentation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-22 15:39:02 +02:00
Nicolas De Loof 87f053d710 Detect stack already exists
This will later be used to switch to ChangeSet logic

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-22 15:37:39 +02:00
aiordache 30fd37b6ca ecs cluster create
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-22 15:06:01 +02:00
Djordje Lukic 83e9843ef2
Merge pull request #11 from glours/fix_protobuff_setup_file
add protoc-gen-go and remove gogo install
2020-04-21 15:30:51 +02:00
Guillaume Lours e3d62ce74a add protoc-gen-go and remove gogo install
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-21 15:29:18 +02:00
Guillaume Lours 1df55a2a3c
Merge pull request #10 from rumpl/feat-go-mod
Feat go mod
2020-04-21 15:12:32 +02:00
Djordje Lukic 6bfeda054b Go mods initialized, protos without gogo 2020-04-21 15:07:41 +02:00
Nicolas De Loof 0972776e6d Ingress description to include service being exposed
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-21 14:48:51 +02:00
Djordje Lukic 3a5fd3bb07 Use go mod 2020-04-21 14:13:48 +02:00
Nicolas De Loof b70f01d2f4 Adopt CloudFormation to create ECS app from compose.yaml
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-21 11:38:52 +02:00
Guillaume Lours b24985af56
Merge pull request #9 from glours/default_to_cli_only
Fallback to default CLI
2020-04-21 10:01:30 +02:00
Djordje Lukic 4b2c8ae9cf Call original docker on moby context
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 21:16:03 +02:00
Guillaume Lours f5aa9638af Add default shellout to engine if no context specified
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 17:16:37 +02:00
Guillaume Lours a8403241e4 Add default shellout to engine if no context specified
Improve CLI documentation

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 16:22:15 +02:00
Nicolas De Loof 3dac4df803 Implement context loading
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-20 16:22:15 +02:00
Nicolas De Loof 4e72d1892a Prefer AWS API interface over actual implementation
This will help introduce mock-based tests

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-20 13:47:38 +02:00
Guillaume LOURS 2a99ecdeec
Merge pull request #8 from rumpl/feat-client-connection
Configure client connection backoff
2020-04-17 14:51:28 +02:00
Djordje Lukic dfa8e03860 Configure client connection backoff
For faster startup times (from 2s to ~130ms)
2020-04-17 14:37:54 +02:00
Nicolas De Loof dd48cc4599 Introduct option to re-use LoadBalancer
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-16 16:18:06 +02:00
Nicolas De Loof a44ee2a4ed Expose services using a LoadBalancer
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-16 15:15:39 +02:00
Nicolas De Loof 17f3ff9db1 Convert services into TaskDefinition before creating resources
close #6

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-16 11:16:50 +02:00
Nicolas De Loof 7763de47eb Introduce "down" command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-16 10:07:28 +02:00
Nicolas De Loof fc7266f3f7 Convert compose service into TaskDefinition
(code imported from prototype)

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-15 10:38:19 +02:00
Nicolas De Loof 4542e05ddf API calls to register services matching compose.yaml
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-14 18:03:33 +02:00
Nicolas De Loof 91daf0dcc0 Skeletton for "compose up" command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-14 17:44:00 +02:00
Nicolas De Loof 40bf8c2dae Load a compose file and pass Project to cobra command
close #2

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-14 11:42:33 +02:00
Nicolas De Loof ba6c599de2 This is a CLI plugin
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-14 08:40:52 +02:00
Nicolas De Loof 1312eec077 Project skaffloding
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-10 16:10:52 +02:00