c6e010d4f0
- Temporarily disable export of base.cue as it causes merge errors at the end of compute - Fixes for JSON export for Scalar and Lists - Add YAML export - Removed BOOL and NUMBER support, using JSON for now - Re-enabled all export tests Fixes #36 Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
27 lines
314 B
CUE
27 lines
314 B
CUE
package testing
|
|
|
|
test: {
|
|
bool
|
|
|
|
#dagger: compute: [
|
|
{
|
|
do: "fetch-container"
|
|
ref: "alpine"
|
|
},
|
|
{
|
|
do: "exec"
|
|
args: ["sh", "-c", """
|
|
printf "true" > /tmp/out
|
|
""",
|
|
]
|
|
dir: "/"
|
|
},
|
|
{
|
|
do: "export"
|
|
// Source path in the container
|
|
source: "/tmp/out"
|
|
format: "json"
|
|
},
|
|
]
|
|
}
|