Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericvolp12/slack-cloudbuild
Cloud build notifications for Slack
https://github.com/ericvolp12/slack-cloudbuild
Last synced: 3 days ago
JSON representation
Cloud build notifications for Slack
- Host: GitHub
- URL: https://github.com/ericvolp12/slack-cloudbuild
- Owner: ericvolp12
- License: mit
- Created: 2022-06-03T02:13:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-21T03:02:13.000Z (over 1 year ago)
- Last Synced: 2023-03-23T04:37:05.088Z (over 1 year ago)
- Language: TypeScript
- Size: 1.29 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slack Cloudbuild
`slack-cloudbuild` is a Google Cloud Function sending Cloud Build statuses to a Slack channel
Adapted from https://github.com/onsails/cloudbuild-slack
This bot uses the Slack SDK to alert for Google CloudBuilds
It updates previous messages for the build so it doesn't flood the channel with messages
Run with:
```
ALERT_CHANNEL= GITHUB_ORG= ./deploy.sh
```After the first run, add your `BOT_TOKEN` and `USER_TOKEN` secrets to the function and redeploy it.
## Demo
![Working](images/working.png)
![Success](images/success.png)