Notifies Sentry about Releases and Deploys from Drone
2.3K
GitHub: https://github.com/urbint/drone-sentry
Generates a small dockerized tool that notifies Sentry whenever a new Release / Deploy happens.
Not that in the context of Sentry there is a difference between a deploy and a release. A
release spans multiple services and is meant to imply a large roll out. A deploy is for a single
codebase and implies the change to a single system. A release could happen over the course of a
long time, possibly even multiple days, whereas a deploy is pretty much a point in time. In effect,
a release can be made up of many different deploys. All deploys happen in the context of a release.
To keep this in line with the Sentry way of doing things, we perform two steps:
When running the program or the docker instance, the following environment variables need to be set:
For example:
pipeline:
sentry-staging:
image: urbint/drone-sentry
sentry_auth_token: 1234567890abcdefg1234567890abcde1234567890abcdefg1234567890abcde
sentry_organization: my-org-short-name
sentry_project: my-project-name
sentry_release_version: 1.2.3
sentry_release_environment: staging
when:
branch: master
Content type
Image
Digest
Size
5.2 MB
Last updated
over 9 years ago
docker pull urbint/drone-sentry