e366773dc0
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
25 lines
320 B
CUE
25 lines
320 B
CUE
package testing
|
|
|
|
import "dagger.io/dagger/op"
|
|
|
|
TestExportNumber: {
|
|
number
|
|
|
|
#up: [
|
|
op.#FetchContainer & {
|
|
ref: "alpine"
|
|
},
|
|
op.#Exec & {
|
|
args: ["sh", "-c", """
|
|
echo -123.5 > /tmp/out
|
|
""",
|
|
]
|
|
},
|
|
op.#Export & {
|
|
// Source path in the container
|
|
source: "/tmp/out"
|
|
format: "json"
|
|
},
|
|
]
|
|
}
|