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