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

@@ -11,7 +11,7 @@ TestImageVersion: {
version: "3.10.6"
}
test: #compute: [
test: #up: [
llb.#Load & {from: image},
llb.#Exec & {
args: [
@@ -31,7 +31,7 @@ TestPackageInstall: {
package: curl: "=~7.74.0"
}
test: #compute: [
test: #up: [
llb.#Load & {from: image},
llb.#Exec & {
args: ["jq", "--version"]

View File

@@ -14,7 +14,7 @@ TestCreate: {
contents: _content
}
test: #compute: [
test: #up: [
llb.#Load & {from: alpine.#Image},
llb.#Exec & {
args: [
@@ -37,7 +37,7 @@ TestRead: {
filename: "/etc/alpine-release"
from: alpine.#Image & {version: "3.10.6"}
}
test: #compute: [
test: #up: [
llb.#Load & {from: alpine.#Image},
llb.#Exec & {
args: [
@@ -63,7 +63,7 @@ TestRead2: {
from: write
}
test: #compute: [
test: #up: [
llb.#Load & {from: alpine.#Image},
llb.#Exec & {
args: [

View File

@@ -15,7 +15,7 @@ TestGoBuild: {
output: "/bin/testbin"
}
test: #compute: [
test: #up: [
llb.#Load & {from: alpine.#Image},
llb.#Exec & {
args: [

View File

@@ -10,7 +10,7 @@ TestNetlify: {
// Generate a random number
random: {
string
#compute: [
#up: [
llb.#Load & {from: alpine.#Image},
llb.#Exec & {
args: ["sh", "-c", "echo -n $RANDOM > /rand"]
@@ -22,7 +22,7 @@ TestNetlify: {
}
// Generate a website containing the random number
html: #compute: [
html: #up: [
llb.#WriteFile & {
content: random
dest: "index.html"
@@ -36,7 +36,7 @@ TestNetlify: {
}
// Check if the deployed site has the random marker
check: #compute: [
check: #up: [
llb.#Load & {
from: alpine.#Image & {
package: bash: "=~5.1"

View File

@@ -14,7 +14,7 @@ TestYarn: {
source: TestData
}
test: #compute: [
test: #up: [
llb.#Load & {from: alpine.#Image & {
package: bash: "=5.1.0-r0"
}},