Work on integration tests

- add new entries for #70 and #74
- cleaned-up / enriched a little bit compute and exec tests

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
dubo-dubon-duponey
2021-01-26 11:33:10 -08:00
parent d06070b85a
commit 707dbd0256
20 changed files with 254 additions and 23 deletions

View File

@@ -0,0 +1,16 @@
package testing
bar: #dagger: {
#new_def: "lala"
compute: [{
do: "fetch-container"
ref: "busybox"
},
{
do: "exec"
args: ["true"]
dir: "/"
}]
}

View File

@@ -0,0 +1,16 @@
package testing
bar: #dagger: {
new_prop: "lala"
compute: [{
do: "fetch-container"
ref: "busybox"
},
{
do: "exec"
args: ["true"]
dir: "/"
}]
}

View File

@@ -0,0 +1,17 @@
package testing
new_prop: "lala"
#new_def: "lala"
new_prop_too: string
#new_def_too: string
#dagger: compute: [{
do: "fetch-container"
ref: "busybox"
},
{
do: "exec"
args: ["true"]
dir: "/"
}]

View File

@@ -0,0 +1,19 @@
package testing
foo: {
new_prop: "lala"
#new_def: "lala"
new_prop_too: string
#new_def_too: string
#dagger: compute: [{
do: "fetch-container"
ref: "busybox"
},
{
do: "exec"
args: ["true"]
dir: "/"
}]
}

View File

@@ -3,7 +3,7 @@ package testing
#dagger: compute: [
{
do: "fetch-container"
ref: "alpine"
ref: "busybox"
},
{
do: "exec"

View File

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