https://github.com/containx/kirk
JIRA integration bot for Slack - detects JIRA issue keys in a channel and echos the link in the channel
https://github.com/containx/kirk
Last synced: 25 days ago
JSON representation
JIRA integration bot for Slack - detects JIRA issue keys in a channel and echos the link in the channel
- Host: GitHub
- URL: https://github.com/containx/kirk
- Owner: ContainX
- Created: 2017-07-06T00:03:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-11T07:07:12.000Z (over 8 years ago)
- Last Synced: 2024-04-16T11:53:33.656Z (about 2 years ago)
- Language: Go
- Size: 292 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kirk
[](https://travis-ci.org/ContainX/kirk)
Kirk is a Slack bot to integrate Slack and JIRA. Kirk can:
- Automatically post links to JIRA when a JIRA issue ID is detected in a channel Kirk is a member of
## Deployment
Kirk requires the following environment variables to deploy:
- `SLACK_CLIENT_ID`: Provided by Slack
- `SLACK_CLIENT_SECRET`: Provided by Slack
- `PUBLIC_HOST`: The publicly accessible hostname and port Kirk is accessible at (e.g. `localhost:8080` for local development)
- `HOST`: The host where the datadog agent is running
Environment variables can be configured by add a `.env` file at the app root (alongside `main.go`)
For local development, set `APP_ENV=development` to have kirk automatically restart when deployed with docker-compose
## DataDog
Notes for running datadog agent:
```
docker run -d --name dd-agent \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /proc/:/host/proc/:ro \
-v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \
-e API_KEY={apikey} \
-e SD_BACKEND=docker \
-p 8125:8125/udp \
-p 8126:8126/tcp \
-e DD_APM_ENABLED=true \
-e DD_HOSTNAME=local \
-e NON_LOCAL_TRAFFIC=true \
datadog/docker-dd-agent
```