All Projects → GoogleCloudPlatform → cloud-build-notifiers

GoogleCloudPlatform / cloud-build-notifiers

Licence: Apache-2.0 license
Notifier images for Cloud Build, complete with build status filtering and Google Secret Manager integration

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to cloud-build-notifiers

mongodb-awesome-backup
Awesome backup tools for MongoDB w/ docker integration
Stars: ✭ 22 (-72.15%)
Mutual labels:  gcp
stack-exchange-notifications
Add-ons for Stack Exchange sites, like: askdifferent, askubuntu, serverfault, stackoverflow and superuser
Stars: ✭ 21 (-73.42%)
Mutual labels:  notifications
PUSHTestFCM
[FireMonkey] Push test project
Stars: ✭ 17 (-78.48%)
Mutual labels:  notifications
gce-cache-cluster
Easy groupcache clustering on GCE
Stars: ✭ 32 (-59.49%)
Mutual labels:  gcp
gcp-storage-emulator
Local emulator for Google Cloud Storage
Stars: ✭ 43 (-45.57%)
Mutual labels:  gcp
webpush-example
A basic push notifications app built on Laravel and Vanilla Javascript.
Stars: ✭ 26 (-67.09%)
Mutual labels:  notifications
30Days-of-GCP
Resources for the 30 Days of GCP program
Stars: ✭ 26 (-67.09%)
Mutual labels:  gcp
csgo-rcon-nodejs
A web panel to control a CS:GO server
Stars: ✭ 46 (-41.77%)
Mutual labels:  notifications
EasyBuzzer
The Beep Library For Arduino
Stars: ✭ 63 (-20.25%)
Mutual labels:  notifications
ember-cli-new-version
A convention based update notification for Ember. With this addon, you can detect a new version and notify the user to refresh the page
Stars: ✭ 22 (-72.15%)
Mutual labels:  notifications
New-AdPasswordReminder
PowerShell script to email users that their password is soon expiring, along with info on how to change it. Designed to run as a scheduled task on a machine with the Active Directory PowerShell module installed.
Stars: ✭ 20 (-74.68%)
Mutual labels:  notifications
associate-cloud-engineer
Resources on preparing for Google Cloud Associate Cloud Engineer certification
Stars: ✭ 142 (+79.75%)
Mutual labels:  gcp
swift-sdk
Iterable's iOS SDK. Receive and track pushes to Iterable from your iOS app.
Stars: ✭ 65 (-17.72%)
Mutual labels:  notifications
gcp-ingestion
Documentation and implementation of telemetry ingestion on Google Cloud Platform
Stars: ✭ 60 (-24.05%)
Mutual labels:  gcp
Dracker
An iOS and React App to track debt and send/receive payments.
Stars: ✭ 22 (-72.15%)
Mutual labels:  notifications
terraforming-gcp
use terraform, deploy yourself a pcf
Stars: ✭ 73 (-7.59%)
Mutual labels:  gcp
tf-free
Create cloud-native resources on all the major cloud providers, completely free of charge. This project is currently under heavy development.
Stars: ✭ 107 (+35.44%)
Mutual labels:  gcp
Google-Cloud-Study-Jams
Resources for 30 Days of Google Cloud program workshops and events conducted by GDSC VJTI
Stars: ✭ 13 (-83.54%)
Mutual labels:  gcp
img ai app boilerplate
An image classification app boilerplate to serve your deep learning models asap!
Stars: ✭ 27 (-65.82%)
Mutual labels:  gcp
vue-over-body
Create modals, sidebars, notifications, pop ups with css transitions!
Stars: ✭ 38 (-51.9%)
Mutual labels:  notifications

Cloud Build Notifiers

This repo provides deployable notifier images and sources, as well as libraries for creating new notifiers.

Cloud Build notifiers are Docker containers that connect to the Cloud Build Pub/Sub topic that adapt Pub/Sub messages about Build update notifications to other services/protocols, such as SMTP for email. Cloud Build notifiers are long-lived binaries that receive notifications throughout Builds' lifecycles (e.g. from the Build starting to execute through the Build finishing).

All notifiers can be built by Cloud Build and deployed on Cloud Run. The only prerequisite is to be a Cloud Build user and to have the gcloud CLI tool installed and configured for your Cloud Build project(s).

There are currently 4 supported notifier types:

  • bigquery, which writes Build updates and related data to a BigQuery table.
  • http, which sends (HTTP POSTs) a JSON payload to another HTTP endpoint.
  • slack, which uses a Slack webhook to post a message in a Slack channel.
  • smtp, which sends emails via an SMTP server.

See the official documentation on Google Cloud for how to configure each notifier:

Setup Script

A setup script exists that should automate most of the notifier setup.

Run ./setup.sh --help for usage instructions.

Common Flags

The following are flags that belong to every notifier via inclusion of the lib/notifiers library.

--smoketest

This flag starts up the notifier image but only logs the notifier name (via type) and then exits.

--setup_check

This flag starts up the notifier, which does the following:

  1. Read the notifier configuration YAML from STDIN.
  2. Decode it into a configuration object.
  3. Attempt to call notifier.SetUp on the given notifier using the configuration and a faked-out SecretGetter.
  4. Exit successfully unless one of the previous steps failed.

This can be done using the following commands:

# First build the notifier locally.
$ sudo docker build . \
    -f=./${NOTIFIER_TYPE}/Dockerfile --tag=${NOTIFIER_TYPE}-test
# Then run the `setup_check` with your YAML.
# --interactive to allow reading from STDIN.
# --rm to clean/remove the image once it exits.
$ sudo docker run \
    --interactive \
    --rm \ 
    --name=${NOTIFIER_TYPE}-test \
    ${NOTIFIER_TYPE}-test:latest --setup_check --alsologtostderr -v=5 \
    < path/to/my/config.yaml 

License

This project uses an Apache 2.0 license.

Contributing

See here for contributing guidelines.

Support

There are several ways to get support for issues in this project:

Note: Issues filed in this repo are not guaranteed to be addressed. We recommend filing issues via the Issue Tracker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].