12.1.0 • Published 10 months ago

@nx-extend/gcp-cloud-run v12.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@nx-extend/gcp-cloud-run

Nx plugin for deploy your app to Cloud Run.

Setup

Install

npm install -D @nx-extend/gcp-cloud-run

Usage

Deploy

Available options:

nametypedefaultdescription
--regionstring-Region to deploy cloud run revision to.
--projectstring-GCP project to deploy cloud run revision to.
--namestringproject nameName of the cloud run revision.
--concurrencynumber250Maximum number of concurrent requests allowed per container instance.
--maxInstancesnumber10Maximum number of container instances to run.
--minInstancesnumber0Minimum number of container instances to run.
--allowUnauthenticatedbooleantrueWhether to allow unauthenticated requests to cloud run service.
--envVars{[k: string]: string}-Environment variables to load into cloud run instance's environment.
--secretsstring[]-Secrets to load into cloud run instance's environment.
--memorystring128MiAmount of memory to reserve for cloud run instance.
--cloudSqlInstancestring-Name of the cloud SQL instance to connect to run instance.
--http2booleanfalseWhether or not to enforce run instance to use HTTP/2 for all end-to-end connections.
--serviceAccountstring-Service account email of another identity if not using compute engine's default service account.
--buildWithstringartifact-registryOnly accepts value artifact-registry. If provided, deploy is ran with the --source options set to current app's directory. If not provided, submits a build to Cloud Build, sourcing app's dist directory. Deploy is then ran using --image, which is given the location of the previous Cloud Build's built image.
--logsDirstring-Note: only relevant if not specifying --buildWith. Directory in GCS where to hold Cloud Build's build logs.
--tagWithVersionstring-Whether or not to tag run service with a version. (note: sources version from package.json)
--noTrafficbooleanfalseSet to true to ensure cloud run avoids sending traffic to the revision being deployed.
--revisionSuffixbooleanfalseSet to append to deployed revision's name.
--timeoutnumber-set the maximum request execution time.
--cpunumber-set a CPU limit in Kubernetes cpu units.
--cpuBoostboolean-Whether to allocate extra CPU to containers on startup to reduce the perceived latency of a cold start request.
--ingressstring-Set the ingress traffic sources allowed to call the service.
12.1.0

10 months ago

12.0.0

10 months ago

11.0.2

11 months ago

11.0.1

11 months ago

11.0.0

12 months ago

10.1.4

1 year ago

10.1.5

1 year ago

10.1.2

1 year ago

10.1.3

1 year ago

10.1.1

1 year ago

10.0.0

1 year ago

10.1.0

1 year ago

9.0.0

1 year ago

8.0.0

2 years ago

7.2.6

2 years ago

7.2.5

2 years ago

7.2.4

2 years ago

7.2.3

2 years ago

7.2.2

2 years ago

6.1.2

2 years ago

6.1.1

2 years ago

7.0.0

2 years ago

7.2.1

2 years ago

7.2.0

2 years ago

7.1.0

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

3.4.5

2 years ago

3.4.4

3 years ago

3.4.3

3 years ago

3.4.2

3 years ago

3.4.1

3 years ago

3.4.0

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

1.2.0

4 years ago

1.1.5

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.0.2

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.5.0

4 years ago

0.0.1

4 years ago