d7a805f42b
Signed-off-by: Solomon Hykes <solomon@dagger.io>
25 lines
333 B
CUE
25 lines
333 B
CUE
package testing
|
|
|
|
import "alpha.dagger.io/dagger/op"
|
|
|
|
TestExportString: {
|
|
string
|
|
|
|
#up: [
|
|
op.#FetchContainer & {
|
|
ref: "alpine"
|
|
},
|
|
op.#Exec & {
|
|
args: ["sh", "-c", """
|
|
printf something > /tmp/out
|
|
""",
|
|
]
|
|
},
|
|
op.#Export & {
|
|
// Source path in the container
|
|
source: "/tmp/out"
|
|
format: "string"
|
|
},
|
|
]
|
|
}
|