move Cloud Run tests to universe/stdlib env
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
This commit is contained in:
parent
6e363f86dd
commit
a78a678db3
@ -4,11 +4,15 @@ sidebar_label: cloudrun
|
||||
|
||||
# dagger.io/gcp/cloudrun
|
||||
|
||||
## #Deploy
|
||||
```cue
|
||||
import "dagger.io/gcp/cloudrun"
|
||||
```
|
||||
|
||||
## cloudrun.#Deploy
|
||||
|
||||
Deploy deploys a Cloud Run service based on provided GCR image
|
||||
|
||||
### #Deploy Inputs
|
||||
### cloudrun.#Deploy Inputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
@ -19,6 +23,6 @@ Deploy deploys a Cloud Run service based on provided GCR image
|
||||
|*image* | `string` |GCR image ref |
|
||||
|*platform* | `*"managed" \| string` |Cloud Run platform |
|
||||
|
||||
### #Deploy Outputs
|
||||
### cloudrun.#Deploy Outputs
|
||||
|
||||
_No output._
|
||||
|
2
stdlib/.dagger/env/google-cloudrun/.gitignore
vendored
Normal file
2
stdlib/.dagger/env/google-cloudrun/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# dagger state
|
||||
state/**
|
16
stdlib/.dagger/env/google-cloudrun/plan/main.cue
vendored
Normal file
16
stdlib/.dagger/env/google-cloudrun/plan/main.cue
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
package cloudrun
|
||||
|
||||
import (
|
||||
"dagger.io/gcp"
|
||||
"dagger.io/gcp/cloudrun"
|
||||
)
|
||||
|
||||
TestConfig: gcpConfig: gcp.#Config & {
|
||||
region: "us-west2"
|
||||
}
|
||||
|
||||
TestCloudRun: deploy: cloudrun.#Deploy & {
|
||||
config: TestConfig.gcpConfig
|
||||
serviceName: "cloudrun-test"
|
||||
image: "gcr.io/dagger-ci/cloudrun-test:latest"
|
||||
}
|
26
stdlib/.dagger/env/google-cloudrun/values.yaml
vendored
Normal file
26
stdlib/.dagger/env/google-cloudrun/values.yaml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: default
|
||||
inputs:
|
||||
TestConfig.gcpConfig.project:
|
||||
text: dagger-ci
|
||||
TestConfig.gcpConfig.serviceKey:
|
||||
secret: ENC[AES256_GCM,data:VqpVNjpxHKLxVWY9PJSUt7SjAwiP8a89JeK3iXir+k8rsNXgb2NlWGjoCc0JzHcManmqEtwuK5uwJu35xmpzzGB1gUumh7NYm26IupEAEXwq9zw1sO9BQwFPjCejfvnfjWXhUIVsHxWNPTSoOLjZkakZ5RGVB8+3nlLkFyUPm0pxF3lhg1Bd737VZvix4h0EyE0i03+zypc2QmBzxGcONmq2L7y686JaQkGuDA6REtl94OGmk18dfJ7UmtGJgSuDh91bXWmUJQpnyItE87+cgaq4EX/VbHY0p88fA2r+qIDQaZjhb1xSwfw9IV4q2RkcZdgCXtIK0X5U+2W+lrASitfTVr31S5LEe0PDqIBxUKriNXbX5zzxpZEkzVygAiIAGkHrcJro2H3jkmNmAMM5grrZN/fSUBsom02zqGkByyFLjD3moFFgg7aoXS+mVSxH7fhruzi9K2/Tz6Ld6n+hSSh6KYqoYsW8u1bWBlclCa9wLSU+6uyLW6sihfcTaI6vB46WG1QbTEaNbKGKx5CqryCJj886GjYWzKF2fHIb8gybhq+VlMwvRxQb0Sbt5YcmOuO7ZTll0nTvGexa43EID254SclEXt50SrPgfvNc9259UC+RvVwn+ezEFmMfBqTKG1oo/Z40D4jaYr07M6pPUCTtqbGce+OFlWArKwYq37J9TS4gojv71KEL1N7gUSJPN6MZ1yP3H4hzbmZyycxVUHzOJ73BTTS/9cly8ros7OJJV8JBxR9KCT2RCR22/RG6COG1DktH/4/SYCl/oA8ZBSc9p/C5qKxHz7D9vCvpvcAj6wetryDrjB2bdk2p0AcRBRWY/4k0QsSk/wwwoIWNa0vJlz8LsmHZRXkmgXPkz1kHEabI/u8msfc70eSIxsMmRbuqbDTYZFXbiuZZrw1F6okUESnYRd9vsY4+jkXmkIhQC6mKiGg2fG3mGqa9Udf8hzguhgC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kPyLSY4m4uJWlI0Ex49Mou5ggjYOAJZU=,tag:X87YuciqrxzbHxN84U/czw==,type:str]
|
||||
sops:
|
||||
kms: []
|
||||
gcp_kms: []
|
||||
azure_kv: []
|
||||
hc_vault: []
|
||||
age:
|
||||
- recipient: age1j6nrevprudhes65akfpl7sl65pktl4wj272gh7xl82ul3aaugppq6zxujg
|
||||
enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBlS2FGbmN6NHUvQURxNHFM
|
||||
VGhOSkpzemlqRy9VRm1YWmgzVjlyL3dwYmdvCjFCKzVZU0F6c3d1cW1zY2dhenF5
|
||||
VDNWMkU1Tk9jNzhiZFJyTmdWS0hSMFkKLS0tIHFka3R5M3lIaUUwQy9vL2psVlda
|
||||
bmNoN29yMHhPQ3cwVzNpUkxIQ0ZnM1EKJht8ms14xoJljhph1bC8E7zZAp9NIYAR
|
||||
pSpl03AeVHVO8TIJT7P4Fb/sWTpeO43WNDVpLdVOqb1zYSAKZ5G3AQ==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2021-06-10T09:04:25Z"
|
||||
mac: ENC[AES256_GCM,data:CKp5GwZZWUk35GsqU7447Km24t7B1pqV6VwcRZetzVbeXPT9Wc5hVfTqR8HYWE/vxz8CwkkJSkqYgdS72JUBJaoZLSXBLO6C50QqPDUdMunZp0pTidKuubET4Jmr2hflMv473CQhBr0wmhKlRJLv3u83Zx/XqKljgl7gZ2HkJ7c=,iv:7RaadjoAANIo21IA/myn+pXsQdAgH5I6LZw4iK2y2rA=,tag:pASgOqReKaoG/yUSr9BCyA==,type:str]
|
||||
pgp: []
|
||||
encrypted_suffix: secret
|
||||
version: 3.7.1
|
@ -60,3 +60,7 @@ setup() {
|
||||
@test "google cloud: gke" {
|
||||
dagger -e google-gke up
|
||||
}
|
||||
|
||||
@test "google cloud: cloudrun" {
|
||||
dagger -e google-cloudrun up
|
||||
}
|
||||
|
Reference in New Issue
Block a user