Google Functions with YAML
Tip
YAML parameters for Google Functions
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to GOOGLE_FUNCTION_INVOKE . |
function_name Required | String | The name of the Google function. |
integration Required | String | The ID of the integration. |
application_id Required | String | The id of the Google Cloud project. |
payload | String | The JSON that will be provided as input to the Google function. |
region | String | Region in which function can be found or will be created. |
YAML example for Google Functions
yamlactions: - action: "Invoke function hello-world-0" type: "GOOGLE_FUNCTION_INVOKE" application_id: "hello-world" region: "europe-west3" function_name: "hello-world-0" payload: "{\r\n \"revision\": \"$BUDDY_RUN_COMMIT\",\r\n \"message\": \"$BUDDY_RUN_COMMIT_MESSAGE\",\r\n \"pipelineId\": \"$BUDDY_PIPELINE_ID\",\r\n \"id\": \"$BUDDY_RUN_ID\"\r\n}" integration: "my_integration"
Last modified on Oct 29, 2024