quiph / drone-ecs

Drone plugin for triggering Amazon EC2 Container Service (ECS) deployments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Go Doc Go Report

drone-ecs

Drone plugin to deploy or update a project on AWS ECS. For the usage information and a listing of the available options please take a look at the docs.

Binary

Build the binary using drone cli:

drone exec

Example

docker run --rm                          \
  -e PLUGIN_ACCESS_KEY=<key>             \
  -e PLUGIN_SECRET_KEY=<secret>          \
  -e PLUGIN_SERVICE=<service>            \  
  -e PLUGIN_DOCKER_IMAGE=<image>         \
  -v $(pwd):$(pwd)                       \
  -w $(pwd)                              \
  pelotech/drone-ecs

Contribution

This repo is setup in a way that if you enable a personal drone server to build your fork it will build and publish your image (makes it easier to test PRs and use the image till the contributions get merged)

  • Build local DRONE_REPO_OWNER=josmo DRONE_REPO_NAME=drone-ecs drone exec
  • on your server just make sure you have DOCKER_USERNAME, DOCKER_PASSWORD, and PLUGIN_REPO set as secrets

About

Drone plugin for triggering Amazon EC2 Container Service (ECS) deployments

License:Apache License 2.0


Languages

Language:Go 98.5%Language:Dockerfile 1.5%