Google Cloud Build integration for Slack
- Trigger cloudbuilds from slack
- Sends a slack notification when a new build is submitted or a build changes state
- Use templates to customize your build notifications (See the templates readme for how)
- Clone this repo
- Create a new incoming webhook for Slack. Instructions
- Add your slack token and signing secret to
env.yaml
. Example- secrets are in a seperate file so you can commit your
config.yaml
without exposing the token
- secrets are in a seperate file so you can commit your
- Create a
config.yaml
file. Commented Example
slack:
channel: '#test'
gcloud:
project_id: 'my-project'
gcs_bucket_url: 'gs://my-bucket'
- Run
make deploy
- Assumes you have the gcloud sdk installed and permission to create cloud functions and gcs buckets in the gcp project set in config.yaml
- Assumes you have python 3.7 installed
- Example terraform config to avoid manual creation of cloud funcion
- Attempt to publish to slack app store