This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/tests/ops/export/concurrency/main.cue
Andrea Luzzardi 1f640d3e25 tests: ops: use proper imports
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 16:44:34 -07:00

211 lines
2.5 KiB
CUE

package testing
import "dagger.io/dagger/op"
test1: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol1 > /tmp/out
"""]
dir: "/"
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test2: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol2 > /tmp/out
"""]
dir: "/"
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test3: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol3 > /tmp/out
"""]
dir: "/"
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test4: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol4 > /tmp/out
"""]
dir: "/"
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test5: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol5 > /tmp/out
"""]
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test6: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol6 > /tmp/out
"""]
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test7: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol7 > /tmp/out
"""]
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test8: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol8 > /tmp/out
"""]
dir: "/"
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test9: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol9 > /tmp/out
"""]
dir: "/"
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}
test10: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["sh", "-c", """
echo lol10 > /tmp/out
"""]
dir: "/"
always: true
},
op.#Export & {
source: "/tmp/out"
format: "string"
},
]
}