From 798b8ec39b29dc0b75f5c7709511963e496efb82 Mon Sep 17 00:00:00 2001 From: Lorenzo Venerandi Date: Sat, 14 Dec 2024 02:26:26 +0100 Subject: [PATCH] update component name --- Dockerfile | 2 +- wadm.yaml | 2 +- wasmcloud.lock | 9 +++++++++ wasmcloud.toml | 4 ++-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index da681f5..4b22323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,4 +49,4 @@ WORKDIR /app # Install go dependencies, build the wasm module, push it to the registry #CMD ["sh", "-c", "go mod download && go mod verify && go mod tidy && wash build && wash push $REGISTRY build/*_s.wasm"] -CMD ["sh", "-c", "go env -w GOFLAGS=-buildvcs=false && go mod download && go mod verify && wash build && wash push $REGISTRY build/*_s.wasm"] \ No newline at end of file +CMD ["sh", "-c", "go env -w GOFLAGS=-buildvcs=false && go mod download && go mod verify && wash build && wash push $REGISTRY build/.wasm"] \ No newline at end of file diff --git a/wadm.yaml b/wadm.yaml index 478724b..e3c8eec 100644 --- a/wadm.yaml +++ b/wadm.yaml @@ -1,7 +1,7 @@ apiVersion: core.oam.dev/v1beta1 kind: Application metadata: - name: tinygo-hello-world + name: go-data-stream annotations: description: 'HTTP hello world demo in Golang (TinyGo), using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)' wasmcloud.dev/authors: wasmCloud team diff --git a/wasmcloud.lock b/wasmcloud.lock index fcf8406..42660f2 100644 --- a/wasmcloud.lock +++ b/wasmcloud.lock @@ -2,6 +2,15 @@ # It is not intended for manual editing. version = 1 +[[packages]] +name = "wasi:config" +registry = "wasi.dev" + +[[packages.versions]] +requirement = "=0.2.0-draft" +version = "0.2.0-draft" +digest = "sha256:aa2d36d0843999edad80a13bf22f4529277f7b6012429f8a5d1f9499f3793c1a" + [[packages]] name = "wasi:logging" registry = "wasi.dev" diff --git a/wasmcloud.toml b/wasmcloud.toml index 2f6fa93..817f4a3 100644 --- a/wasmcloud.toml +++ b/wasmcloud.toml @@ -1,4 +1,4 @@ -name = "go_nats_client" +name = "go_nats_stream_client" language = "tinygo" type = "component" version = "1.0.0" @@ -6,7 +6,7 @@ version = "1.0.0" [component] wit_world = "hello" wasm_target = "wasm32-wasip2" -destination = "build/go_nats_client_s.wasm" +destination = "build/go_nats_stream_client.wasm" [registry] url = "gitea.rebus.ninja/lore"