Google Cloud CLI with YAML

YAML parameters for Google Cloud CLI

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to GCLOUD_CLI.
server
Required
StringThe host for the connection.
execute_commands
Required
String[]The commands that will be executed.
integration_hash
Required
StringThe ID of the Google integration.
server_keyStringThe Google server key (base64 encoded). Required only if you connect to your server.
shellStringThe name of the shell that will be used to execute commands. Can be one of SH or BASH (default).
application_nameStringThe name of the Google application.
application_display_nameStringThe display name of the Google application.

YAML example for Google Cloud CLI

actions:
- action: "Execute commands on Google"
type: "GCLOUD_CLI"
server_key: "secure!hrWn2xuNl2+h7wsUtqy8BSdlz30fadpiJHIK11DgeWehurlCwZvrX5yVi2ktsBDp8CluNIRSep4xsTeH9fyTQdlzHHEyyMhoDJ5AQpR4SVRz4hQ6XN+itwf/rJsLIwCPbARQBhckas/bXvqXTzEP3vWFnJPe3XYAizGmpI2r+9ihNRl7TXQtRsVDBunvdArhB/fZwNf5LyTx2Sx7WPAakmtl7azhonjC8wIB7QpYBOFHUX04+P5JAD92a0A2ksiglHq8aHbucPQzW4+Nb6CgPzI/l72y8NssHmui3QnLkZmgAWAy05UCSW68oresb2Z8KVn2iKrvjgLcII8wVICAxPPiGxxlWKYzT/r2Q12vEY/szklBi9ncnpIXdTXOohsx60GmLQnUdH1jPvJqBTlqwCJtrCygxV+LQ4eiQ3VKV/yHTK6Ty/fqjIFFyuz8qKbdHdbhiLc6MAFjjisFVBHMr+Ew/vcyFO67nTzt3VpNqnhT9CpXGSe7+CwoekHvI66Pe/Wc1AQRMwt0mM82GC0MJvdiROIGHyX2OX1nnN9rZ9/c2Z35urJVFdcczPqAw8TRmH3tC5w5Q5IWgfdrnlnM8LbE20WJAlMf/XVlzlZkTzkw0INbqwO1fBlZsCrLpRS4NWDs2hJKwkCmBeQKqufmLRRzk+Z4m7X21TzNydBF8g6GhzeDEmV/Si0vZWJPRYI86wCdmfmMLU0tqhlmHRAA8oUvLlTbyKnmRoQk2fDx7mhCrzYoAz7iDQOokFZIz7K/GbWESrDEMyyEpDKR22Butz7Z6xhyS3AlLzjZx/M8YlFlIYJIPdeCWYLC6JVcwkolSO9KxSW7a+3qNEYKpThHUMlZCzwY7l6jYlER5MAaNmtRwba42Z1E2yf4a9KQqzlQ7dTUhOf0ShstUy83NAlhBwt2cdNXWO+UZF2jhkH/LgjPnJDNG16PNJowMpPVMx5qQ+4QbZBo8o1SlpXdxSA73g==.8GgWYPRH/1bonvCriJNc3A=="
application_name: "boxwood-builder-150909"
application_display_name: "gcloud-test"
execute_commands:
- "gcloud version"
shell: "SH"
trigger_condition: "ALWAYS"
integration_hash: "5ddb7c180fb38be67bd78a88a"