drone-elastic-beanstalk

command module
v0.0.0-...-87835f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

README

Build Status Go Doc Go Report

drone-elastic-beanstalk

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

Build

Build the binary with the following commands:

drone exec

Docker

Build the docker image with the following commands:

drone exec
docker build --rm=true -t plugins/elastic-beanstalk .

Usage

Execute from the working directory:

docker run --rm \
  -e PLUGIN_BUCKET=<bucket> \
  -e AWS_ACCESS_KEY_ID=<token> \
  -e AWS_SECRET_ACCESS_KEY=<secret> \
  -e PLUGIN_APPLICATION_NAME=<app> \
  -e PLUGIN_ENVIRONMENT_NAME=<env> \
  -e PLUGING_BUCKET_KEY=<bucketkey> \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  pelotech/drone-elastic-beanstalk
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-elastic-beanstalk drone exec
  • on your server just make sure you have DOCKER_USERNAME, DOCKER_PASSWORD, and PLUGIN_REPO set as secrets

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL