Deploy to Google Cloud Functions
Buddy lets you automatically deploy and trigger Google functions on the serverless compute platform on every push to branch.
Image loading...[画像:Example pipeline with Google deployment]
Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Configure pipeline in Buddy
- Create a new project in Buddy and select your Git provider:
Image loading...[画像:Creating a new project]
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
Image loading...[画像:Adding a new pipeline]
Configure Google deployment
Warning
Before you add the actions, make sure that your Google service account has proper Google function permissions set.
Buddy offers two Function actions:
- Deploy: deploys files from the pipeline's filesystem to Google Cloud Functions
- Trigger: triggers already deployed Google Function
Image loading...[画像:Google actions]
Google Function Deploy
This action has four configuration tabs:
- Transfer – here you set the repository path and files to ignore (optional)
- Variables – here you can view the variables created by your Google integration, and create your own if required
- 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 Function Deploy configuration]
Google Function Trigger
This action is very similar to Google Deploy in terms of configuration, with key settings moved to the Trigger tab:
- Trigger – here you select the Google Cloud integration, region, and target function, and define the payload, client context, and invocation options
Image loading...[画像:Google Function Trigger configuration]
Last modified on Jan 29, 2025