Action wraps the Sentry CLI to enable Sentry release management.
An example workflow to build a docker container from source and push and release the image to an existing application on Heroku:
workflow "Create new Sentry Release Version" {
on = "push"
resolves = "release version"
}
action "release version" {
uses = "juankaram/sentry@master"
needs = "push"
args = "releases propose-version"
secrets = ["SENTRY_AUTH_TOKEN"]
env = {
SENTRY_ORG = "foo"
SENTRY_PROJECT = "bar"
}
}
SENTRY_AUTH_TOKEN
- Required. The authentication token to use for all communication with Sentry. (more info)
SENTRY_ORG
- Optional. The slug of the organization to use for a command.SENTRY_PROJECT
- Optional. The slug of the project to use for a command.SENTRY_URL
- Optional. The URL to use to connect to sentry. This defaults to https://sentry.io/.
Heavily inspired by GitHub Actions.
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.