Add Cloud Run support

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
This commit is contained in:
Tihomir Jovicic
2021-06-09 12:01:27 +02:00
parent 790cf70838
commit 8c5b4270d0
16 changed files with 337 additions and 2 deletions

View File

@@ -75,6 +75,7 @@ For more inspiration, see these examples:
- [Provision a Kubernetes cluster on AWS](https://github.com/dagger/dagger/blob/main/examples/README.md#provision-a-kubernetes-cluster-on-aws)
- [Add HTTP monitoring to your application](https://github.com/dagger/dagger/blob/main/examples/README.md#add-http-monitoring-to-your-application)
- [Deploy an application to your Kubernetes cluster](https://github.com/dagger/dagger/blob/main/examples/README.md#deploy-an-application-to-your-kubernetes-cluster)
- [Deploy an application to GCP Cloud Run](https://github.com/dagger/dagger/blob/main/examples/README.md#deploy-an-application-to-gcp-cloud-run)
5\. Extend your plan with relay definitions from [Dagger
Universe](https://github.com/dagger/dagger/tree/main/stdlib), an encyclopedia of

View File

@@ -0,0 +1,25 @@
---
sidebar_label: cloudrun
---
# dagger.io/gcp/cloudrun
## #Deploy
Deploy deploys a Cloud Run service based on provided GCR image
### #Deploy Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*config.region* | `string` |GCP region |
|*config.project* | `string` |GCP project |
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|*serviceName* | `string` |service name |
|*region* | `*"us-west2" \| string` |region to which deploy the service |
|*image* | `string` |GCR image ref |
|*platform* | `*"managed" \| string` |Cloud Run platform |
### #Deploy Outputs
_No output._