Google Cloud Run with YAML

YAML parameters for Google Cloud Run

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

Last modified on April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.