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.

Example pipeline with deployment to Google Cloud RunExample pipeline with deployment to Google Cloud Run

Tip
If you are new to Buddy, check out our quickstart 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.

Creating a new projectCreating a new project

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

Adding a new pipelineAdding 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:

Google Cloud actions in BuddyGoogle 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

Google Cloud Run action configurationGoogle 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 update:
Sep 17, 2024