/drone-airbrake-deployment

Drone plugin for Airbrake deployment tracking

Primary LanguageGoApache License 2.0Apache-2.0

drone-airbrake-deployment

Go Report Card

Drone plugin to notify airbrake when deployment is finished. 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:

make install
make build

Docker

Build the docker image with the following commands:

make linux_amd64 docker_image docker_deploy tag=X.X.X

Usage

Execute from the working directory:

docker run --rm \
    -e AIRBRAKE_PROJECT_ID=xxx \
    -e AIRBRAKE_PROJECT_KEY=xxx \
    -e AIRBRAKE_ENVIRONMENT=staging \
    -e DRONE_COMMIT_AUTHOR=dhoeric \
    -e DRONE_COMMIT_SHA=xxx \
    -e DRONE_REPO_LINK=https://github.com/dhoeric/drone-airbrake-deployment \
  dhoeric/drone-airbrake-deployment