Google Cloud Run with YAML

YAML parameters for Google Cloud Run

NameTypeDescription
action RequiredStringThe ID of the action.
type RequiredStringThe type of the action. Should be set to GOOGLE_CLOUD_RUN_DEPLOY.
service RequiredStringThe name of the service.
application_name RequiredStringThe name of the application.
application_display_name RequiredStringThe display name of the application.
image RequiredStringThe name of the image.
integration RequiredStringThe 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

yaml
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: "my_integration"

Last modified on Sep 23, 2024