Adding tests

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
dubo-dubon-duponey
2021-01-14 13:50:54 -08:00
parent 9338d10a04
commit e301dfa7b1
33 changed files with 761 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
package testing
#dagger: {
compute: true
}

View File

@@ -0,0 +1,5 @@
package testing
#dagger: {
compute: 123
}

View File

@@ -0,0 +1,5 @@
package testing
#dagger: {
compute: "whatever"
}

View File

@@ -0,0 +1,7 @@
package testing
#dagger: {
compute: {
whatever: "wrong"
}
}

View File

@@ -0,0 +1,18 @@
package testing
bar: string
#dagger: {
compute: [
{
do: "fetch-container"
ref: "alpine"
},
{
do: "exec"
dir: "/"
args: ["sh", "-c", "echo \(foo.bar)"]
}
]
foo: bar: bar
}