1f640d3e25
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
17 lines
256 B
CUE
17 lines
256 B
CUE
package testing
|
|
|
|
import "dagger.io/dagger/op"
|
|
|
|
#up: [
|
|
op.#FetchContainer & {
|
|
ref: "alpine"
|
|
},
|
|
op.#Exec & {
|
|
args: ["sh", "-c", """
|
|
echo "pwd is: $(pwd)"
|
|
[ "$(pwd)" == "/thisisnonexistent" ] || exit 1
|
|
"""]
|
|
dir: "/thisisnonexistent"
|
|
},
|
|
]
|