cue files: #compute -> #up
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
committed by
Solomon Hykes
parent
8a4aa4d42b
commit
c16455249e
4
tests/llb/copy/invalid/cache/main.cue
vendored
4
tests/llb/copy/invalid/cache/main.cue
vendored
@@ -3,7 +3,7 @@ package testing
|
||||
test1: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox"
|
||||
@@ -25,7 +25,7 @@ test1: {
|
||||
test2: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
component: #compute: [{
|
||||
component: #up: [{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
}, {
|
||||
@@ -14,7 +14,7 @@ component: #compute: [{
|
||||
test1: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox"
|
||||
@@ -36,14 +36,14 @@ test1: {
|
||||
test2: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox"
|
||||
},
|
||||
{
|
||||
do: "copy"
|
||||
from: #compute: [{
|
||||
from: #up: [{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
}, {
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox"
|
||||
|
@@ -8,7 +8,7 @@ import (
|
||||
// Set to `--input-dir=./tests/dockerbuild/testdata`
|
||||
TestData: dagger.#Artifact
|
||||
|
||||
TestInlinedDockerfile: #compute: [
|
||||
TestInlinedDockerfile: #up: [
|
||||
llb.#DockerBuild & {
|
||||
dockerfile: """
|
||||
FROM alpine:latest@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
|
||||
@@ -17,7 +17,7 @@ TestInlinedDockerfile: #compute: [
|
||||
},
|
||||
]
|
||||
|
||||
TestOpChaining: #compute: [
|
||||
TestOpChaining: #up: [
|
||||
llb.#DockerBuild & {
|
||||
dockerfile: """
|
||||
FROM alpine:latest@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
|
||||
@@ -29,7 +29,7 @@ TestOpChaining: #compute: [
|
||||
},
|
||||
]
|
||||
|
||||
TestBuildContext: #compute: [
|
||||
TestBuildContext: #up: [
|
||||
llb.#DockerBuild & {
|
||||
context: TestData
|
||||
},
|
||||
@@ -38,7 +38,7 @@ TestBuildContext: #compute: [
|
||||
},
|
||||
]
|
||||
|
||||
TestBuildContextAndDockerfile: #compute: [
|
||||
TestBuildContextAndDockerfile: #up: [
|
||||
llb.#DockerBuild & {
|
||||
context: TestData
|
||||
dockerfile: """
|
||||
@@ -51,7 +51,7 @@ TestBuildContextAndDockerfile: #compute: [
|
||||
},
|
||||
]
|
||||
|
||||
TestDockerfilePath: #compute: [
|
||||
TestDockerfilePath: #up: [
|
||||
llb.#DockerBuild & {
|
||||
context: TestData
|
||||
dockerfilePath: "./dockerfilepath/Dockerfile.custom"
|
||||
@@ -61,7 +61,7 @@ TestDockerfilePath: #compute: [
|
||||
},
|
||||
]
|
||||
|
||||
TestBuildArgs: #compute: [
|
||||
TestBuildArgs: #up: [
|
||||
llb.#DockerBuild & {
|
||||
dockerfile: """
|
||||
FROM alpine:latest@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
|
||||
@@ -73,7 +73,7 @@ TestBuildArgs: #compute: [
|
||||
]
|
||||
|
||||
// FIXME: this doesn't test anything beside not crashing
|
||||
TestBuildLabels: #compute: [
|
||||
TestBuildLabels: #up: [
|
||||
llb.#DockerBuild & {
|
||||
dockerfile: """
|
||||
FROM alpine:latest@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
|
||||
@@ -83,7 +83,7 @@ TestBuildLabels: #compute: [
|
||||
]
|
||||
|
||||
// FIXME: this doesn't test anything beside not crashing
|
||||
TestBuildPlatform: #compute: [
|
||||
TestBuildPlatform: #up: [
|
||||
llb.#DockerBuild & {
|
||||
dockerfile: """
|
||||
FROM alpine:latest@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
2
tests/llb/exec/env/invalid/main.cue
vendored
2
tests/llb/exec/env/invalid/main.cue
vendored
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
2
tests/llb/exec/env/overlay/main.cue
vendored
2
tests/llb/exec/env/overlay/main.cue
vendored
@@ -2,7 +2,7 @@ package testing
|
||||
|
||||
bar: string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
2
tests/llb/exec/env/valid/main.cue
vendored
2
tests/llb/exec/env/valid/main.cue
vendored
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
hello: "world"
|
||||
bar: string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
hello: "world"
|
||||
bar: string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -2,7 +2,7 @@ package def
|
||||
|
||||
#dang: string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"dagger.io/def"
|
||||
)
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load",
|
||||
from: def
|
||||
|
@@ -2,7 +2,7 @@ package nonoptional
|
||||
|
||||
dang: string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"dagger.io/nonoptional"
|
||||
)
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load",
|
||||
from: nonoptional
|
||||
|
@@ -2,7 +2,7 @@ package optional
|
||||
|
||||
dang?: string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"dagger.io/optional"
|
||||
)
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load",
|
||||
from: optional
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
bool
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test1: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -27,7 +27,7 @@ test1: {
|
||||
test2: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -51,7 +51,7 @@ test2: {
|
||||
test3: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -75,7 +75,7 @@ test3: {
|
||||
test4: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -99,7 +99,7 @@ test4: {
|
||||
test5: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -123,7 +123,7 @@ test5: {
|
||||
test6: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -147,7 +147,7 @@ test6: {
|
||||
test7: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -171,7 +171,7 @@ test7: {
|
||||
test8: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -195,7 +195,7 @@ test8: {
|
||||
test9: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -219,7 +219,7 @@ test9: {
|
||||
test10: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
float
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
teststring: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
teststring: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -4,7 +4,7 @@ test: {
|
||||
string
|
||||
=~"^NAAAA.+"
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
testScalar: {
|
||||
bool
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -25,7 +25,7 @@ testScalar: {
|
||||
]
|
||||
}
|
||||
|
||||
testMap: #compute: [
|
||||
testMap: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -50,7 +50,7 @@ testMap: #compute: [
|
||||
// testList: {
|
||||
// [...string]
|
||||
|
||||
// #compute: [
|
||||
// #up: [
|
||||
// {
|
||||
// do: "fetch-container"
|
||||
// ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
number
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -4,7 +4,7 @@ test: {
|
||||
string
|
||||
=~"^some.+"
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
testScalar: {
|
||||
bool
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
@@ -30,7 +30,7 @@ testScalar: {
|
||||
// testList: {
|
||||
// [...string]
|
||||
|
||||
// #compute: [
|
||||
// #up: [
|
||||
// {
|
||||
// do: "fetch-container"
|
||||
// ref: "alpine"
|
||||
@@ -54,7 +54,7 @@ testScalar: {
|
||||
// ]
|
||||
// }
|
||||
|
||||
testMap: #compute: [
|
||||
testMap: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -1,34 +1,34 @@
|
||||
package testing
|
||||
|
||||
busybox1: #compute: [
|
||||
busybox1: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox"
|
||||
},
|
||||
]
|
||||
|
||||
busybox2: #compute: [
|
||||
busybox2: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox:latest"
|
||||
},
|
||||
]
|
||||
|
||||
busybox3: #compute: [
|
||||
busybox3: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox:1.33-musl"
|
||||
},
|
||||
]
|
||||
|
||||
busybox4: #compute: [
|
||||
busybox4: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox@sha256:e2af53705b841ace3ab3a44998663d4251d33ee8a9acaf71b66df4ae01c3bbe7"
|
||||
},
|
||||
]
|
||||
|
||||
busybox5: #compute: [
|
||||
busybox5: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox:1.33-musl@sha256:e2af53705b841ace3ab3a44998663d4251d33ee8a9acaf71b66df4ae01c3bbe7"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
},
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine@sha256:c6c7524e2111f22a9f7577211232d89a9e68cf5b9ed4a41ba77957c9771380a5"
|
||||
|
@@ -2,7 +2,7 @@ package testing
|
||||
|
||||
// XXX WATCHOUT
|
||||
// Once buildkit has pulled that digest, it will stay cached and happily succeed WHATEVER the image name then is
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busyboxaaa@sha256:e2af53705b841ace3ab3a44998663d4251d33ee8a9acaf71b66df4ae01c3bbe7"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "doesnotexist"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine:doesnotexist"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-git"
|
||||
remote: "https://github.com/blocklayerhq/acme-clothing.git"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-git"
|
||||
},
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-git"
|
||||
remote: "pork://pork"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-git"
|
||||
remote: "https://github.com/blocklayerhq/acme-clothing.git"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-git"
|
||||
remote: "https://github.com/blocklayerhq/lalalala.git"
|
||||
|
4
tests/llb/load/invalid/cache/main.cue
vendored
4
tests/llb/load/invalid/cache/main.cue
vendored
@@ -3,7 +3,7 @@ package testing
|
||||
test1: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
@@ -19,7 +19,7 @@ test1: {
|
||||
test2: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "busybox"}]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package testing
|
||||
|
||||
component: #compute: [{
|
||||
component: #up: [{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
}, {
|
||||
@@ -14,7 +14,7 @@ component: #compute: [{
|
||||
test1: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: component
|
||||
@@ -30,10 +30,10 @@ test1: {
|
||||
test2: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: #compute: [{
|
||||
from: #up: [{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
}, {
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
|
2
tests/llb/mounts/valid/cache/main.cue
vendored
2
tests/llb/mounts/valid/cache/main.cue
vendored
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
@@ -13,7 +13,7 @@ test: {
|
||||
args: ["sh", "-c", """
|
||||
cat /mnt/test/lol > /out
|
||||
"""]
|
||||
mount: "/mnt/test": from: #compute: [
|
||||
mount: "/mnt/test": from: #up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
|
@@ -3,7 +3,7 @@ package testing
|
||||
test: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
|
@@ -9,7 +9,7 @@ TestPushContainer: {
|
||||
// Generate a random number
|
||||
random: {
|
||||
string
|
||||
#compute: [
|
||||
#up: [
|
||||
llb.#Load & {from: alpine.#Image},
|
||||
llb.#Exec & {
|
||||
args: ["sh", "-c", "echo -n $RANDOM > /rand"]
|
||||
@@ -23,7 +23,7 @@ TestPushContainer: {
|
||||
// Push an image with a random tag
|
||||
push: {
|
||||
ref: "daggerio/ci-test:\(random)"
|
||||
#compute: [
|
||||
#up: [
|
||||
llb.#WriteFile & {
|
||||
content: random
|
||||
dest: "/rand"
|
||||
@@ -35,14 +35,14 @@ TestPushContainer: {
|
||||
}
|
||||
|
||||
// Pull the image back
|
||||
pull: #compute: [
|
||||
pull: #up: [
|
||||
llb.#FetchContainer & {
|
||||
ref: push.ref
|
||||
},
|
||||
]
|
||||
|
||||
// Check the content
|
||||
check: #compute: [
|
||||
check: #up: [
|
||||
llb.#Load & {from: alpine.#Image},
|
||||
llb.#Exec & {
|
||||
args: [
|
||||
|
@@ -3,7 +3,7 @@ package main
|
||||
hello: {
|
||||
string
|
||||
|
||||
#compute: [
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
|
Reference in New Issue
Block a user