e6c482cb83
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
31 lines
429 B
CUE
31 lines
429 B
CUE
package testing
|
|
|
|
test: {
|
|
string
|
|
=~ "^NAAAA.+"
|
|
|
|
#dagger: {
|
|
compute: [
|
|
{
|
|
do: "fetch-container"
|
|
ref: "alpine"
|
|
},
|
|
{
|
|
do: "exec"
|
|
args: ["sh", "-c", """
|
|
printf something > /tmp/out
|
|
"""
|
|
]
|
|
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
|
dir: "/"
|
|
},
|
|
{
|
|
do: "export"
|
|
// Source path in the container
|
|
source: "/tmp/out"
|
|
format: "string"
|
|
},
|
|
]
|
|
}
|
|
}
|