tests: move tests top-level

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-02-03 15:02:43 -08:00
parent f6650901fd
commit 89c7136f75
74 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
package testing
test: {
string
#dagger: compute: [
{
do: "load"
from: [{do: "fetch-container", ref: "alpine"}]
},
{
do: "exec"
args: ["sh", "-c", """
ls -lA /lol > /out
"""]
dir: "/"
mount: something: {
input: dagger: #compute: [{
do: "fetch-container"
ref: "alpine"
}]
path: "/lol"
}
},
{
do: "export"
source: "/out"
format: "string"
},
]
}