Port packages to latest versions + update netlify to latest CLI version + update aws to latest version

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
This commit is contained in:
guillaume
2022-01-04 15:27:33 +01:00
parent 80a21cd6ea
commit bd4916873b
28 changed files with 70 additions and 70 deletions

View File

@@ -61,14 +61,14 @@ import (
ctr: os.#Container & {
image: alpine.#Image & {
package: {
bash: "=~5.1"
jq: "=~1.6"
bash: true
jq: true
curl: true
yarn: "=~1.22"
yarn: true
}
}
setup: [
"yarn global add netlify-cli@3.38.10",
"yarn global add netlify-cli@8.6.1",
]
// set in netlify.sh.cue
// FIXME: use embedding once cue supports it

View File

@@ -44,9 +44,9 @@ package netlify
--prod \
| tee /tmp/stdout
url=$(</tmp/stdout sed -n -e 's/^Website URL:.*\(https:\/\/.*\)$/\1/p' | tr -d '\n')
deployUrl=$(</tmp/stdout sed -n -e 's/^Unique Deploy URL:.*\(https:\/\/.*\)$/\1/p' | tr -d '\n')
logsUrl=$(</tmp/stdout sed -n -e 's/^Logs:.*\(https:\/\/.*\)$/\1/p' | tr -d '\n')
url="$(cat /tmp/stdout | grep Website | grep -Eo 'https://[^ >]+' | head -1)"
deployUrl="$(cat /tmp/stdout | grep Unique | grep -Eo 'https://[^ >]+' | head -1)"
logsUrl="$(cat /tmp/stdout | grep Logs | grep -Eo 'https://[^ >]+' | head -1)"
# Write output files
mkdir -p /netlify

View File

@@ -29,7 +29,7 @@ TestNetlify: {
check: #up: [
op.#Load & {
from: alpine.#Image & {
package: bash: "=~5.1"
package: bash: true
package: curl: true
}
},