e366773dc0
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
27 lines
321 B
CUE
27 lines
321 B
CUE
package testing
|
|
|
|
import "dagger.io/dagger/op"
|
|
|
|
TestScriptCopy: {
|
|
string
|
|
|
|
#up: [
|
|
op.#FetchContainer & {
|
|
ref: "busybox"
|
|
},
|
|
op.#Copy & {
|
|
from: [
|
|
op.#FetchContainer & {
|
|
ref: "alpine"
|
|
},
|
|
]
|
|
src: "/etc/issue"
|
|
dest: "/"
|
|
},
|
|
op.#Export & {
|
|
source: "/issue"
|
|
format: "string"
|
|
},
|
|
]
|
|
}
|