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:
Solomon Hykes
2021-01-25 15:26:06 -08:00
parent 2009561ba5
commit f933278d43
24 changed files with 178 additions and 79 deletions

View File

@@ -11,7 +11,5 @@ package testing
echo "$foo"
"""#]
env: foo: lala: "lala"
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
dir: "/"
},
]

View File

@@ -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: "/"
},
]

View File

@@ -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: "/"
},
]