Google Cloud CLI with YAML

YAML parameters for Google Cloud CLI

Name Type Description
action Required String The name of the action.
type Required String The type of the action. Should be set to GOOGLE_CLOUD_CLI.
execute_commands Required String[] The commands that will be executed.
integration Required String The ID of the Google integration.
shell String The name of the shell that will be used to execute commands. Can be one of SH (default) or BASH.
application_name String The name of the Google application.
setup_commands String[] The command that will be executed only on the first run.

YAML example for Google Cloud CLI

yaml
actions: - action: "Execute: gcloud version" type: "GOOGLE_CLOUD_CLI" application_name: "boxwood-builder-150909" application_display_name: "gcloud-test" execute_commands: - "gcloud version" setup_commands: - "apt-get update && apt-get -y install git" shell: "SH" integration: "my_integration"

Last modified on Mar 4, 2025