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/tests/plan/hello-europa/main.cue

17 lines
281 B
CUE
Raw Normal View History

package main
import (
"alpha.dagger.io/dagger/engine"
"alpha.dagger.io/os"
)
engine.#Plan & {
actions: {
sayHello: os.#Container & {
command: "echo Hello Europa! > /out.txt"
}
verify: "Hello Europa!\n" & (os.#File & {from: sayHello, path: "/out.txt"}).contents
}
}