Member-only story

How to send Telegram Notifications with Google Cloud Build (GCB)

Silvan
5 min readNov 3, 2020

--

This article is a quick HOW-TO after struggling with Google Cloud Build about how to send notifications when a build has failed or is successful. Since I did not want to use Slack and the heavy client, I give a try in this post with Telegram and discover the magical chatbot world.

Google Cloud Build

Cloud Build is a service that executes your builds on Google Cloud Platform infrastructure. Cloud Build can import source code from Google Cloud Storage, Cloud Source Repositories, GitHub, or Bitbucket, execute a build to your specifications, and produce artifacts.

Google Cloud Build is rather a cheap alternative to Jenkins, Travis-Ci, and Circle CI if you have private projects. While the other solutions require a quite expensive subscription, you pay GCB according to the used build time. If you do not commit frequently or the build is a short task, it is a really fair solution. And an extra bonus, the first 120 build minutes are free.

Google Cloud Build

As you see, the Google Cloud Build interface is not as attractive as the other competitors. That’s why I wanted at the bare minimum to receive some notifications.

There is no built-in process therefore I had to build my own. GCB recommends Slack however my choice is in favor of mobile push…

--

--

Silvan
Silvan

Written by Silvan

#Digital #Transformation Techlead at @serial_ch. @tocea founder. I save #software in exchange of Chocolates,Cheese and Beer in Switzerland #Breton/Gallo en exil

No responses yet