69cd9dd323
Rather than checking for failure, we verify that the computable part of the configuration gets outputted. Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
21 lines
215 B
CUE
21 lines
215 B
CUE
package testing
|
|
|
|
hello: "world"
|
|
|
|
bar: string
|
|
|
|
#dagger: {
|
|
compute: [
|
|
{
|
|
do: "fetch-container"
|
|
ref: "alpine"
|
|
},
|
|
{
|
|
do: "exec"
|
|
dir: "/"
|
|
args: ["sh", "-c", "echo \(foo.bar)"]
|
|
}
|
|
]
|
|
foo: bar: bar
|
|
}
|