Google Cloud Function that reports Google Cloud Container Builder progress to a slack channel.
- Setup a new incoming slack webhook URL: instructions
- Clone this repo
- Run
./config.sh
for config generation prompt - Deploy from local machine to your organizations project:
gcloud beta function deploy <NAME> --stage-bucket <BUCKET_NAME> --trigger-topic cloud-builds --entry-point onbuildstatus
Get the GCF Emulator and run:
functions deploy onbuildstatus --trigger-topic cloud-builds
Now you can do local modifications and try it out from your local machines:
functions call onbuildstatus --file mock/mock.json