gcb-notifier
is the Google-provided Slack connector for Google
Cloud Build notifications potentially with some modifications to suit my own
needs. You likely want the reference implementation.
To install this function, it is assumed that gcloud
CLI is set up and that
the default project is active.
-
Clone this repository locally.
-
Go to custom integrations on your workspace and create a new incoming webhook. This will be the
[URL]
below. -
Create a new
secrets.yaml
file in the current directory containing:
SLACK_WEBHOOK_URL: '[URL]'
- Run
make deploy
.