refactored test to use CUE validations rather than container stdout
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
@@ -6,7 +6,11 @@ import (
|
||||
)
|
||||
|
||||
engine.#Plan & {
|
||||
actions: sayHello: os.#Container & {
|
||||
command: "echo Hello Europa!"
|
||||
actions: {
|
||||
sayHello: os.#Container & {
|
||||
command: "echo Hello Europa! > /out.txt"
|
||||
}
|
||||
|
||||
verify: "Hello Europa!\n" & (os.#File & {from: sayHello, path: "/out.txt"}).contents
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user