github-releases-notifier

command module
v0.0.0-...-6c41bbe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 17 Imported by: 0

README

github-releases-notifier

Go Report Card Build Status

Receive Slack notifications if a new release of your favorite software is available on GitHub.

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/.
Docker
docker run --rm -e GITHUB_TOKEN=XXX -e SLACK_HOOK=https://hooks.slack.com/... wei840222/github-releases-notifier:1.1.4 -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
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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL