tests: move llb tests into tests/llb
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
20
tests/llb/exec/undefined/non_concrete_referenced/main.cue
Normal file
20
tests/llb/exec/undefined/non_concrete_referenced/main.cue
Normal file
@@ -0,0 +1,20 @@
|
||||
package testing
|
||||
|
||||
hello: "world"
|
||||
bar: string
|
||||
|
||||
#compute: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
},
|
||||
{
|
||||
do: "exec"
|
||||
dir: "/"
|
||||
args: ["sh", "-c", """
|
||||
echo \(bar)
|
||||
echo "This test SHOULD succeed, because this is never going to be executed, as \(bar) is not concrete"
|
||||
exit 1
|
||||
"""]
|
||||
},
|
||||
]
|
Reference in New Issue
Block a user