Deploy to Google Cloud Run

Buddy turns deployments into a breeze, allowing you to automatically update your Could Run on every push to branch. You can also deploy manually on click, or recurrently on time intervals.

Image loading...Example pipeline with deployment to Google Cloud Run

Tip
If you are new to Buddy, check out our workflow guides that will tell you how to create build, test and deploy your type of application.

Configure pipeline in Buddy

  1. Create a new project in Buddy and select your Git provider.

Image loading...Creating a new project

  1. Add a new pipeline and configure the details: name, trigger mode, and a branch from which you want to deploy.

Image loading...Adding a new pipeline

Configure Google Cloud Run deployment

Warning
Before you add the action, make sure that your Google service account has proper policies configured.
  1. Look up and click Google Cloud Run on the action list to add it to the pipeline:

Image loading...Google Cloud actions in Buddy

  1. The action deploys a container to the Cloud Run service. It has four configuration tabs:
  • Deploy – here you select the Google Cloud integration and the project to which you deploy
  • Variables – here you can add and modify environment variables required by your workflow
  • Conditions – here you configure the trigger conditions for which the action will run
  • Options – here you define the action's name and behavior on failure and timeout

Image loading...Google Cloud Run action configuration

  1. When ready, click Add this action to finish configuration.
Success
Congratulations! You have just automated your Could Run deployment. 🥳

Last modified on Sep 24, 2024