8917017e16
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
28 lines
382 B
CUE
28 lines
382 B
CUE
package testing
|
|
|
|
X1=in: string | *"default input"
|
|
|
|
test: {
|
|
string
|
|
|
|
#compute: [
|
|
{
|
|
do: "fetch-container"
|
|
ref: "alpine"
|
|
},
|
|
{
|
|
do: "exec"
|
|
args: ["sh", "-c", """
|
|
echo -n "received: \(X1)" > /out
|
|
"""]
|
|
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
|
dir: "/"
|
|
},
|
|
{
|
|
do: "export"
|
|
source: "/out"
|
|
format: "string"
|
|
},
|
|
]
|
|
}
|