tests: move tests top-level
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
8
tests/fetch-container/nonexistent/digest/main.cue
Normal file
8
tests/fetch-container/nonexistent/digest/main.cue
Normal file
@@ -0,0 +1,8 @@
|
||||
package testing
|
||||
|
||||
#dagger: compute: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine@sha256:c6c7524e2111f22a9f7577211232d89a9e68cf5b9ed4a41ba77957c9771380a5"
|
||||
},
|
||||
]
|
@@ -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
|
||||
#dagger: compute: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busyboxaaa@sha256:e2af53705b841ace3ab3a44998663d4251d33ee8a9acaf71b66df4ae01c3bbe7"
|
||||
},
|
||||
]
|
8
tests/fetch-container/nonexistent/image/main.cue
Normal file
8
tests/fetch-container/nonexistent/image/main.cue
Normal file
@@ -0,0 +1,8 @@
|
||||
package testing
|
||||
|
||||
#dagger: compute: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "doesnotexist"
|
||||
},
|
||||
]
|
8
tests/fetch-container/nonexistent/tag/main.cue
Normal file
8
tests/fetch-container/nonexistent/tag/main.cue
Normal file
@@ -0,0 +1,8 @@
|
||||
package testing
|
||||
|
||||
#dagger: compute: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine:doesnotexist"
|
||||
},
|
||||
]
|
Reference in New Issue
Block a user