Fix spec validation & merge so that default values are correctly applied
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
@@ -8,8 +8,6 @@ package testing
|
||||
{
|
||||
do: "exec"
|
||||
args: ["echo", "always output"]
|
||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||
dir: "/"
|
||||
always: true
|
||||
},
|
||||
]
|
||||
|
2
examples/tests/exec/env/invalid/main.cue
vendored
2
examples/tests/exec/env/invalid/main.cue
vendored
@@ -11,7 +11,5 @@ package testing
|
||||
echo "$foo"
|
||||
"""#]
|
||||
env: foo: lala: "lala"
|
||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||
dir: "/"
|
||||
},
|
||||
]
|
||||
|
2
examples/tests/exec/env/overlay/main.cue
vendored
2
examples/tests/exec/env/overlay/main.cue
vendored
@@ -14,7 +14,5 @@ bar: string
|
||||
[ "$foo" == "overlay environment" ] || exit 1
|
||||
"""]
|
||||
env: foo: bar
|
||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||
dir: "/"
|
||||
},
|
||||
]
|
||||
|
2
examples/tests/exec/env/valid/main.cue
vendored
2
examples/tests/exec/env/valid/main.cue
vendored
@@ -11,7 +11,5 @@ package testing
|
||||
[ "$foo" == "output environment" ] || exit 1
|
||||
"""]
|
||||
env: foo: "output environment"
|
||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||
dir: "/"
|
||||
},
|
||||
]
|
||||
|
@@ -8,7 +8,5 @@ package testing
|
||||
{
|
||||
do: "exec"
|
||||
args: ["erroringout"]
|
||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||
dir: "/"
|
||||
},
|
||||
]
|
||||
|
@@ -7,7 +7,5 @@ package testing
|
||||
},
|
||||
{
|
||||
do: "exec"
|
||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||
dir: "/"
|
||||
},
|
||||
]
|
||||
|
@@ -8,7 +8,5 @@ package testing
|
||||
{
|
||||
do: "exec"
|
||||
args: ["echo", "simple output"]
|
||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||
dir: "/"
|
||||
},
|
||||
]
|
||||
|
Reference in New Issue
Block a user