cue files: #compute -> #up

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-04-02 15:00:30 -07:00
committed by Solomon Hykes
parent 8a4aa4d42b
commit c16455249e
87 changed files with 137 additions and 140 deletions

View File

@@ -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: [