Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)