跳到主要内容

google-cloud-run

Google Cloud Run with YAML

YAML parameters for Google Cloud Run

List of YAML parameters and examples for the "Google Cloud Run" action.

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Should be set to GOOGLE_CLOUD_RUN_DEPLOY.
service
必填
StringThe name of the service.
application_name
必填
StringThe name of the application.
application_display_name
必填
StringThe display name of the application.
image
必填
StringThe name of the image.
integration_hash
必填
StringThe ID of the integration.
regionStringThe region in which the resource can be found. Required when platform is set to MANAGED.
clusterStringThe ID of the cluster or fully qualified identifier for the cluster. Required when the platform is set to GKE.
cluster_locationStringThe zone in which the cluster is located. Required when the platform is set to GKE.
contextStringThe name of the context in your kubectl config file to use for connecting. Required when the platform is set to KUBERNETES.
config_pathStringKubectl configuration file. Required when the platform is set to KUBERNETES.
platformStringTarget platform for running commands. Can be set to: MANAGED, GKE or KUBERNETES.

YAML example for Google Cloud Run

actions:
- action: "Deploy to Google Cloud Run/84 tests"
type: "GOOGLE_CLOUD_RUN_DEPLOY"
service: "$service"
application_name: "MyApp"
application_display_name: "MyApp"
region: "europe-west1"
image: "$image"
platform: "MANAGED"
shell: "SH"
integration_hash: "5f72f6bc4527bb2d7e08e436"