e6c482cb83
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
28 lines
350 B
CUE
28 lines
350 B
CUE
package testing
|
|
|
|
test: {
|
|
|
|
#dagger: {
|
|
compute: [
|
|
{
|
|
do: "fetch-container"
|
|
ref: "alpine"
|
|
},
|
|
{
|
|
do: "exec"
|
|
args: ["sh", "-c", """
|
|
echo '{"something": "something"}' > /tmp/out
|
|
"""
|
|
]
|
|
dir: "/"
|
|
},
|
|
{
|
|
do: "export"
|
|
// Source path in the container
|
|
source: "/tmp/out"
|
|
format: "json"
|
|
},
|
|
]
|
|
}
|
|
}
|