tests: move llb tests into tests/llb

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-03-31 18:49:53 -07:00
parent e0afc6304d
commit 93296fa358
62 changed files with 59 additions and 71 deletions

View File

@@ -0,0 +1,36 @@
package testing
busybox1: #compute: [
{
do: "fetch-container"
ref: "busybox"
},
]
busybox2: #compute: [
{
do: "fetch-container"
ref: "busybox:latest"
},
]
busybox3: #compute: [
{
do: "fetch-container"
ref: "busybox:1.33-musl"
},
]
busybox4: #compute: [
{
do: "fetch-container"
ref: "busybox@sha256:e2af53705b841ace3ab3a44998663d4251d33ee8a9acaf71b66df4ae01c3bbe7"
},
]
busybox5: #compute: [
{
do: "fetch-container"
ref: "busybox:1.33-musl@sha256:e2af53705b841ace3ab3a44998663d4251d33ee8a9acaf71b66df4ae01c3bbe7"
},
]

View File

@@ -0,0 +1,7 @@
package testing
#compute: [
{
do: "fetch-container"
},
]

View File

@@ -0,0 +1,8 @@
package testing
#compute: [
{
do: "fetch-container"
ref: "alpine@sha256:c6c7524e2111f22a9f7577211232d89a9e68cf5b9ed4a41ba77957c9771380a5"
},
]

View File

@@ -0,0 +1,10 @@
package testing
// XXX WATCHOUT
// Once buildkit has pulled that digest, it will stay cached and happily succeed WHATEVER the image name then is
#compute: [
{
do: "fetch-container"
ref: "busyboxaaa@sha256:e2af53705b841ace3ab3a44998663d4251d33ee8a9acaf71b66df4ae01c3bbe7"
},
]

View File

@@ -0,0 +1,8 @@
package testing
#compute: [
{
do: "fetch-container"
ref: "doesnotexist"
},
]

View File

@@ -0,0 +1,8 @@
package testing
#compute: [
{
do: "fetch-container"
ref: "alpine:doesnotexist"
},
]