Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justwatchcom/github-releases-notifier
Receive Slack notifications for new releases of your favorite software on GitHub.
https://github.com/justwatchcom/github-releases-notifier
github golang releases slack
Last synced: 3 months ago
JSON representation
Receive Slack notifications for new releases of your favorite software on GitHub.
- Host: GitHub
- URL: https://github.com/justwatchcom/github-releases-notifier
- Owner: justwatchcom
- License: mit
- Created: 2017-08-08T09:46:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T13:48:27.000Z (over 1 year ago)
- Last Synced: 2024-08-01T16:29:22.419Z (6 months ago)
- Topics: github, golang, releases, slack
- Language: Go
- Homepage:
- Size: 476 KB
- Stars: 165
- Watchers: 7
- Forks: 51
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-releases-notifier
[![Build Status](https://travis-ci.org/justwatchcom/github-releases-notifier.svg?branch=master)](https://travis-ci.org/justwatchcom/github-releases-notifier)
[![Go Report Card](https://goreportcard.com/badge/github.com/justwatchcom/github-releases-notifier)](https://goreportcard.com/report/github.com/justwatchcom/github-releases-notifier)
[![Docker Pulls](https://img.shields.io/docker/pulls/justwatch/github-releases-notifier.svg?maxAge=604800)](https://hub.docker.com/r/justwatch/github-releases-notifier)Receive Slack notifications if a new release of your favorite software is available on GitHub.
![screenshot.png](screenshot.png)
### Watching repositories
To watch repositories simply add them to the list of arguments `-r=kubernetes/kubernetes -r=prometheus/prometheus` and so on.
### Deploying
1. Get a URL to send WebHooks to your Slack from https://api.slack.com/incoming-webhooks.
2. Get a token for scraping GitHub: [https://help.github.com/](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line).#### Docker
```
docker run --rm -e GITHUB_TOKEN=XXX -e SLACK_HOOK=https://hooks.slack.com/... justwatch/github-releases-notifier -r=kubernetes/kubernetes
```#### docker-compose
1. Change into the `deployments/` folder.
2. Open `docker-compose.yml`
3. Change the token in the environment section to the ones obtained above.
4. `docker-compose up`#### Kubernetes
```bash
kubectl create secret generic github-releases-notifier \
--from-literal=github=XXX` \
--from-literal=slack=XXX
```After creating the secret with your credentials you can apply the deployment:
`kubectl apply -f deployments/kubernetes.yml`
That's it.