Move Cloud Run image property to GCP config struct
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
This commit is contained in:
@@ -5,11 +5,12 @@ import (
|
||||
"dagger.io/gcp/cloudrun"
|
||||
)
|
||||
|
||||
TestConfig: gcpConfig: gcp.#Config
|
||||
TestConfig: gcpConfig: gcp.#Config & {
|
||||
region: "us-west2"
|
||||
}
|
||||
|
||||
TestCloudRun: deploy: cloudrun.#Deploy & {
|
||||
config: TestConfig.gcpConfig
|
||||
serviceName: "cloudrun-test"
|
||||
region: "us-west2"
|
||||
serviceName: "cloudrun-test4"
|
||||
image: "gcr.io/dagger-ci/cloudrun-test:latest"
|
||||
}
|
Reference in New Issue
Block a user