From eb1db1b361344ca17cf7c339a1e6a5b1f406e94d Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Fri, 19 Apr 2024 15:07:27 -0500 Subject: [PATCH] Add wasmCloud 1.0 Signed-off-by: Joonas Bergius --- README.md | 6 +++--- create_wasmcloud_sysext.sh | 4 ++-- release_build_versions.txt | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1ad684c..0a72d2e 100644 --- a/README.md +++ b/README.md @@ -141,9 +141,9 @@ variant: flatcar version: 1.0.0 storage: files: - - path: /opt/extensions/wasmcloud/wasmcloud-0.82.0-x86-64.raw + - path: /opt/extensions/wasmcloud/wasmcloud-1.0.0-x86-64.raw contents: - source: https://github.com/flatcar/sysext-bakery/releases/download/latest/wasmcloud-0.82.0-x86-64.raw + source: https://github.com/flatcar/sysext-bakery/releases/download/latest/wasmcloud-1.0.0-x86-64.raw - path: /etc/sysupdate.d/noop.conf contents: source: https://github.com/flatcar/sysext-bakery/releases/download/latest/noop.conf @@ -169,7 +169,7 @@ storage: inline: | links: - - target: /opt/extensions/wasmcloud/wasmcloud-0.82.0-x86-64.raw + - target: /opt/extensions/wasmcloud/wasmcloud-1.0.0-x86-64.raw path: /etc/extensions/wasmcloud.raw hard: false systemd: diff --git a/create_wasmcloud_sysext.sh b/create_wasmcloud_sysext.sh index 0ec1c54..f29e63b 100755 --- a/create_wasmcloud_sysext.sh +++ b/create_wasmcloud_sysext.sh @@ -6,7 +6,7 @@ SCRIPTFOLDER="$(dirname "$(readlink -f "$0")")" if [ $# -lt 2 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then echo "Usage: $0 VERSION SYSEXTNAME [NATS_VERSION]" - echo "The script will download the wasmcloud release (e.g. 0.82.0) and create a sysext squashfs image with the name SYSEXTNAME.raw in the current folder." + echo "The script will download the wasmcloud release (e.g. 1.0.0) and create a sysext squashfs image with the name SYSEXTNAME.raw in the current folder." echo "A temporary directory named SYSEXTNAME in the current folder will be created and deleted again." echo "All files in the sysext image will be owned by root." echo "To use arm64 pass 'ARCH=arm64' as environment variable (current value is '${ARCH}')." @@ -47,7 +47,7 @@ fi version="v${version#v}" rm -f "nats-server.tar.gz" -curl -o nats-server.tar.gz -fvSL "https://github.com/nats-io/nats-server/releases/download/${version}/nats-server-${version}-linux-${GOARCH}.tar.gz" +curl -o nats-server.tar.gz -fsSL "https://github.com/nats-io/nats-server/releases/download/${version}/nats-server-${version}-linux-${GOARCH}.tar.gz" tar -xf "nats-server.tar.gz" -C "${SYSEXTNAME}" mv "${SYSEXTNAME}/nats-server-${version}-linux-${GOARCH}/nats-server" "${SYSEXTNAME}/usr/bin/" rm -r "${SYSEXTNAME}/nats-server-${version}-linux-${GOARCH}" diff --git a/release_build_versions.txt b/release_build_versions.txt index 222109b..e8984be 100644 --- a/release_build_versions.txt +++ b/release_build_versions.txt @@ -18,4 +18,5 @@ wasmtime-13.0.0 # Used in Flatcar wasm OS demo wasmtime-17.0.1 # Used in README.md. Update readme when version changes. wasmtime-18.0.1 -wasmcloud-0.82.0 \ No newline at end of file +wasmcloud-0.82.0 +wasmcloud-1.0.0 \ No newline at end of file