p1nkun1c0rns/Deploy To Google Cloud Run

Deploy a service revision to Google Cloud Run using gcloud SDK

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
project_idGCP project IDyes
service_account_keyBase64 encoded JSON key for GCP service accountno""
image_nameName of container image to be deployedyes
service_nameName of the service to be deployedyes
gcp_regionGCP region to deploy the service inyes
image_tagTag of container image to be deployedno""
image_tag_patternRegex pattern to identify the image_tag automaticallyno""
concurrency_per_instanceMax number of concurrent requests per instance, max: 80no80
cpuVCPU limit per instanceno1
memoryMemory limit per instanceno256Mi
max_instancesMax number of instances to be scaledno10
min_instancesMin number of instances to be available in idleno0
request_timeoutTimeout for a single request to be processedno10s
allow_unauthenticatedWhether the service should not be protected by GCP authorizationnotrue
cpu_throttlingSet to false so that CPU is always allocated and available even when there are no incoming requestsnotrue
startup_boostSet to true to have additional CPU available at startup timenofalse
service_accountService Account to be used by the revision to be deployednodefault
no_trafficSet to true to just deploy a new revision without shifting trafficnofalse
cloudsql_instancesComma separated list of CloudSQL instances to connect tono""
vpc_connectorName of the Serverless VPC Access connector to use with this serviceno""
vpc_egressOutbound traffic configuration, if a vpc_connector is configurednoprivate-ranges-only
vpc_networkName of VPC network when using direct VPC egressno""
vpc_subnetName of VPC network's subnetno""
vpc_network_tagsComma-separated list of network tagsno""
ingressAllowed ingress traffic sourcesnoall
debugWhether the gcloud commands should be printed to outputnofalse
execution_environmentSelects the execution environment where the application will runno""
namedescription
cloud_run_revisionRevision of the deployed service
cloud_run_endpointEndpoint the service is serving at
gcloud_logLog output of the gcloud run deploy command
deployed_image_tagTag of the deployed image