This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/stdlib/gcp/cloudrun/tests/cloudrun.cue
Benjamin Grandfond 830ad87ced Add env var support on GCP cloudrun
Signed-off-by: Benjamin Grandfond <benjamin.grandfond@gmail.com>
2021-09-05 20:54:53 +02:00

19 lines
296 B
CUE

package cloudrun
import (
"alpha.dagger.io/gcp"
"alpha.dagger.io/gcp/cloudrun"
)
TestConfig: gcpConfig: gcp.#Config
TestCloudRun: deploy: cloudrun.#Service & {
config: TestConfig.gcpConfig
name: "todoapp"
image: "gcr.io/dagger-ci/todoapp:latest"
env: {
FOO: "foo"
BAR: "bar"
}
}