https://github.com/smashah/gcloud-build-slack-notifier
Super Simple GCloud Build Slack Notifier. Be sure to 🌟 this repository for updates!
https://github.com/smashah/gcloud-build-slack-notifier
gcp gcp-cloud-build gcp-cloud-functions
Last synced: 3 months ago
JSON representation
Super Simple GCloud Build Slack Notifier. Be sure to 🌟 this repository for updates!
- Host: GitHub
- URL: https://github.com/smashah/gcloud-build-slack-notifier
- Owner: smashah
- Created: 2019-04-18T19:52:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T09:03:37.000Z (over 2 years ago)
- Last Synced: 2025-01-27T09:11:48.212Z (5 months ago)
- Topics: gcp, gcp-cloud-build, gcp-cloud-functions
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Super Simple GCloud Build Slack Notifier
Slack integration for Google Cloud Build, using Google Cloud Functions to post messages to Slack.
## How
1. Clone the repo
1. Create a Slack app, and copy the webhook URL in index.js:
```
const SLACK_WEBHOOK_URL = "ENTER_WEBHOOK_URL_HERE";
```
2. Get deps
```
npm i
```
3. Deploy to google cloud functions (make sure you're using the right project by using gcloud init)
```
gcloud functions deploy subscribe --runtime nodejs8 --trigger-topic cloud-builds
```