lint all cue files

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-01-20 18:26:10 -08:00
parent 843f24d763
commit 6ab7f88007
46 changed files with 574 additions and 660 deletions

View File

@@ -2,14 +2,14 @@ package testing
#dagger: compute: [
{
do: "fetch-container"
do: "fetch-container"
ref: "alpine"
},
{
do: "exec"
args: ["echo", "always output"]
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
dir: "/"
dir: "/"
always: true
},
]

View File

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

View File

@@ -2,15 +2,15 @@ package testing
#dagger: compute: [
{
do: "fetch-container"
do: "fetch-container"
ref: "alpine"
},
{
do: "exec"
args: ["sh", "-c", """
echo "pwd is: $(pwd)"
[ "$(pwd)" == "/etc" ] || exit 1
"""]
echo "pwd is: $(pwd)"
[ "$(pwd)" == "/etc" ] || exit 1
"""]
dir: "/etc"
},
]

View File

@@ -2,15 +2,15 @@ package testing
#dagger: compute: [
{
do: "fetch-container"
do: "fetch-container"
ref: "alpine"
},
{
do: "exec"
args: ["sh", "-c", #"""
echo "$foo"
"""#]
env: foo: {lala: "lala"}
echo "$foo"
"""#]
env: foo: lala: "lala"
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
dir: "/"
},

View File

@@ -4,15 +4,15 @@ bar: string
#dagger: compute: [
{
do: "fetch-container"
do: "fetch-container"
ref: "alpine"
},
{
do: "exec"
args: ["sh", "-c", """
echo "foo: $foo"
[ "$foo" == "overlay environment" ] || exit 1
"""]
echo "foo: $foo"
[ "$foo" == "overlay environment" ] || exit 1
"""]
env: foo: bar
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
dir: "/"

View File

@@ -2,14 +2,14 @@ package testing
#dagger: compute: [
{
do: "fetch-container"
do: "fetch-container"
ref: "alpine"
},
{
do: "exec"
args: ["sh", "-c", """
[ "$foo" == "output environment" ] || exit 1
"""]
[ "$foo" == "output environment" ] || exit 1
"""]
env: foo: "output environment"
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
dir: "/"

View File

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

View File

@@ -2,7 +2,7 @@ package testing
#dagger: compute: [
{
do: "fetch-container"
do: "fetch-container"
ref: "alpine"
},
{
@@ -10,4 +10,4 @@ package testing
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
dir: "/"
},
}
]

View File

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