josmo / drone-ecs

Drone plugin for triggering Amazon EC2 Container Service (ECS) deployments
Apache License 2.0
30 stars 41 forks source link

Deploying to FARGATE #27

Closed MorrisMatrix closed 6 years ago

MorrisMatrix commented 6 years ago

Having troubles deploying a task on a Fargate Cluster, it complains Task definition does not support launch_type FARGATE

Also when I specify network_mode to awsvpc it complains Error response from daemon: network awsvpc not found

fargate

awsvpc

josmo commented 6 years ago

@MorrisMatrix ok so looks like the last time the aws lib was updated was before Fargate was out. I just moved this project to use golang dep and grabbed the latest aws lib. I haven't really looked much into what else needs to happen but can you try the latest image and see what happens? I imagine there's more needed, but I'd like to verify before I look too much into it :)

mlibrodo commented 6 years ago

i need this functionality as well. we need to expose a few parametes in the RegisterTaskDefinitionInput ill file a PR

josmo commented 6 years ago

@MorrisMatrix and @mlibrodo if you all want to try the latest image, I'll tag a version when it's verified that it works and close this. Thanks @mlibrodo for the contribution!

mlibrodo commented 6 years ago

peloton/drone-ecs:latest works for my fargate deployment

josmo commented 6 years ago

ok tag 1.0.6 will be out shortly for it. :) I'll close this out and feel free to open new issues for anything relating to Fargate.