This tools is a sidecar to use sentry webhook on mattermost
MIT License
This tools is a sidecar to use sentry webhook on mattermost.
First you must create a Mattermost incoming webhook integration.
Next you must deploy the docker image (don't forget to fill SMS_MATTERMOST_WEBHOOK_URL
environment variable with the Mattermost webhook URL) somewhere and redirect sentry webhook on it with route name defined as Mattermost channel for each projects.
Then you setup sentry issue alerts as you like.
docker
bash
To start you must launch dev environment:
$ ./scripts/up.sh
This will launch images in docker-compose.yml
.
An image named workspace
with golang is used as a isolated container to
develop. You can use enter-workspace.sh
to enter inside it:
$ ./scripts/enter-workspace.sh
From outside the container you can build with:
$ ./scripts/build.sh
You can test an example sentry webhook with:
$ ./scripts/test-request.sh
Then you can see the converted request that will be send to mattermost using:
$ ./scripts/get-last-request-result.sh
This image is automatically deployed and versionned as a docker image at itsalex/sentry-mattermost-sidecar.
To deploy a new tag use ./scripts/create-and-push-tag.sh
:
$ ./scripts/create-and-push-tag.sh 1.0.0