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

@@ -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"