24d3f82fc7
Superceded by Client API. Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
21 lines
340 B
CUE
21 lines
340 B
CUE
package testing
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
client: filesystem: testdata: read: contents: dagger.#FS
|
|
|
|
actions: {
|
|
build: dagger.#Dockerfile & {
|
|
source: client.filesystem.testdata.read.contents
|
|
}
|
|
|
|
verify: dagger.#Exec & {
|
|
input: build.output
|
|
args: ["sh", "-c", "test $(cat /dir/foo) = foobar"]
|
|
}
|
|
}
|
|
}
|