From 1efedaf0b0ea0e91752992fb70eb5222a757cb42 Mon Sep 17 00:00:00 2001 From: Brooks Townsend Date: Tue, 31 Oct 2023 15:53:22 -0400 Subject: [PATCH] feat(*): update wadms to pull from ghcr Signed-off-by: Brooks Townsend feat(*): pull actors from ghcr --- hello-world/hello-cosmonic.wadm.yaml | 10 ++++----- hello-world/hello-stargate.wadm.yaml | 14 ++++++------ kvcounter/kvcounter.wadm.yaml | 10 ++++----- .../multi-channel-chat.wadm.yaml | 22 +++++++++---------- .../xkcd-generator-cosmonic.wadm.yaml | 6 ++--- .../xkcd-generator-stargate.wadm.yaml | 10 ++++----- 6 files changed, 36 insertions(+), 36 deletions(-) diff --git a/hello-world/hello-cosmonic.wadm.yaml b/hello-world/hello-cosmonic.wadm.yaml index b6d123d..a94deef 100644 --- a/hello-world/hello-cosmonic.wadm.yaml +++ b/hello-world/hello-cosmonic.wadm.yaml @@ -1,4 +1,4 @@ -# This is a full example of how to run the hello actor exposed with an HTTP server on Cosmonic. +# This is a full example of how to run the hello actor exposed with an HTTP server on Cosmonic. # This example leverages WADM running: https://github.com/wasmCloud/wadm/tree/main/wadm. # # All components are started on Cosmonic. See other examples for different scenarios. @@ -15,7 +15,7 @@ spec: - name: hello type: actor properties: - image: cosmonic.azurecr.io/hello:0.1.0 + image: ghcr.io/cosmonic/hello:0.1.0 traits: - type: spreadscaler properties: @@ -26,13 +26,13 @@ spec: - name: httpserver properties: contract: wasmcloud:httpserver - image: cosmonic.azurecr.io/httpserver_wormhole:0.5.4 + image: cosmonic.azurecr.io/httpserver_wormhole:0.6.2 traits: - properties: replicas: 1 spread: - name: oncosmonic requirements: - cosmonic_managed: 'true' + cosmonic_managed: "true" type: spreadscaler - type: capability \ No newline at end of file + type: capability diff --git a/hello-world/hello-stargate.wadm.yaml b/hello-world/hello-stargate.wadm.yaml index 3700b7d..8474bf0 100644 --- a/hello-world/hello-stargate.wadm.yaml +++ b/hello-world/hello-stargate.wadm.yaml @@ -1,4 +1,4 @@ -# This is a full example of how to run the hello actor exposed with an HTTP server on Cosmonic. +# This is a full example of how to run the hello actor exposed with an HTTP server on Cosmonic. # This example leverages WADM running: https://github.com/wasmCloud/wadm/tree/main/wadm. # # This example starts a webserver on Cosmonic and runs the hello world on a remote host. @@ -16,15 +16,15 @@ spec: - name: hello type: actor properties: - image: cosmonic.azurecr.io/hello:0.1.0 + image: ghcr.io/cosmonic/hello:0.1.0 traits: - properties: replicas: 1 spread: - name: stargate requirements: -# hostcore.os: macos - stargate: 'true' + # hostcore.os: macos + stargate: "true" type: spreadscaler - properties: target: httpserver @@ -32,13 +32,13 @@ spec: - name: httpserver properties: contract: wasmcloud:httpserver - image: cosmonic.azurecr.io/httpserver_wormhole:0.5.4 + image: cosmonic.azurecr.io/httpserver_wormhole:0.6.2 traits: - properties: replicas: 1 spread: - name: oncosmonic requirements: - cosmonic_managed: 'true' + cosmonic_managed: "true" type: spreadscaler - type: capability \ No newline at end of file + type: capability diff --git a/kvcounter/kvcounter.wadm.yaml b/kvcounter/kvcounter.wadm.yaml index 17ae814..3014caa 100644 --- a/kvcounter/kvcounter.wadm.yaml +++ b/kvcounter/kvcounter.wadm.yaml @@ -13,7 +13,7 @@ spec: - name: kvcounter type: actor properties: - image: cosmonic.azurecr.io/kvcounter:0.1.0 + image: ghcr.io/cosmonic/kvcounter:0.1.0 traits: - type: spreadscaler properties: @@ -29,7 +29,7 @@ spec: - name: httpserver type: capability properties: - image: cosmonic.azurecr.io/httpserver_wormhole:0.5.4 + image: cosmonic.azurecr.io/httpserver_wormhole:0.6.2 contract: wasmcloud:httpserver traits: - type: spreadscaler @@ -38,11 +38,11 @@ spec: spread: - name: wormholespread requirements: - cosmonic_managed: 'true' + cosmonic_managed: "true" - name: keyvalue type: capability properties: - image: cosmonic.azurecr.io/builtin_keyvalue:0.2.4 + image: cosmonic.azurecr.io/builtin_keyvalue:0.2.5 contract: wasmcloud:keyvalue traits: - type: spreadscaler @@ -51,4 +51,4 @@ spec: spread: - name: kvspread requirements: - cosmonic_managed: 'true' + cosmonic_managed: "true" diff --git a/multi-channel-chat/multi-channel-chat.wadm.yaml b/multi-channel-chat/multi-channel-chat.wadm.yaml index d671647..a70c56f 100644 --- a/multi-channel-chat/multi-channel-chat.wadm.yaml +++ b/multi-channel-chat/multi-channel-chat.wadm.yaml @@ -16,16 +16,16 @@ spec: - name: apigateway type: actor properties: - image: cosmonic.azurecr.io/mcc_apigateway:0.1.0 + image: ghcr.io/cosmonic/mcc_apigateway:0.1.0 traits: - type: spreadscaler properties: replicas: 1 - + - name: chatlog type: actor properties: - image: cosmonic.azurecr.io/mcc_chatlog:0.1.0 + image: ghcr.io/cosmonic/mcc_chatlog:0.1.0 traits: - type: spreadscaler properties: @@ -37,7 +37,7 @@ spec: - name: httpchannel type: actor properties: - image: cosmonic.azurecr.io/mcc_httpchannel:0.1.0 + image: ghcr.io/cosmonic/mcc_httpchannel:0.1.0 traits: - type: spreadscaler properties: @@ -45,11 +45,11 @@ spec: - type: linkdef properties: target: httpserver - + - name: natschannel type: actor properties: - image: cosmonic.azurecr.io/mcc_natschannel:0.1.0 + image: ghcr.io/cosmonic/mcc_natschannel:0.1.0 traits: - type: spreadscaler properties: @@ -62,7 +62,7 @@ spec: type: capability properties: contract: wasmcloud:httpserver - image: cosmonic.azurecr.io/httpserver_wormhole:0.5.4 + image: cosmonic.azurecr.io/httpserver_wormhole:0.6.2 traits: - type: spreadscaler properties: @@ -70,13 +70,13 @@ spec: spread: - name: wormholespread requirements: - cosmonic_managed: 'true' + cosmonic_managed: "true" - name: keyvalue type: capability properties: contract: wasmcloud:keyvalue - image: cosmonic.azurecr.io/builtin_keyvalue:0.2.4 + image: cosmonic.azurecr.io/builtin_keyvalue:0.2.5 traits: - type: spreadscaler properties: @@ -84,13 +84,13 @@ spec: spread: - name: kvspread requirements: - cosmonic_managed: 'true' + cosmonic_managed: "true" - name: messaging type: capability properties: contract: wasmcloud:messaging - image: wasmcloud.azurecr.io/nats_messaging:0.17.2 + image: wasmcloud.azurecr.io/nats_messaging:0.17.4 traits: - type: spreadscaler properties: diff --git a/xkcdgenerator/xkcd-generator-cosmonic.wadm.yaml b/xkcdgenerator/xkcd-generator-cosmonic.wadm.yaml index 75930ec..e97a1c1 100644 --- a/xkcdgenerator/xkcd-generator-cosmonic.wadm.yaml +++ b/xkcdgenerator/xkcd-generator-cosmonic.wadm.yaml @@ -56,7 +56,7 @@ spec: # Source for this image: https://github.com/cosmonic/awesome-cosmonic/blob/main/xkcdgenerator/src/lib.rs # With Cosmonic developers are responsible for their business logic, leveraging WebAssembly Components # - image: cosmonic.azurecr.io/xkcdgenerator:0.1.0 + image: ghcr.io/cosmonic/xkcdgenerator:0.2.0 traits: - properties: replicas: 1 @@ -75,7 +75,7 @@ spec: - name: httpserver properties: contract: wasmcloud:httpserver - image: cosmonic.azurecr.io/httpserver_wormhole:0.5.4 + image: cosmonic.azurecr.io/httpserver_wormhole:0.6.2 traits: - properties: replicas: 1 @@ -88,7 +88,7 @@ spec: - name: httpclient properties: contract: wasmcloud:httpclient - image: wasmcloud.azurecr.io/httpclient:0.7.0 + image: wasmcloud.azurecr.io/httpclient:0.8.0 traits: - properties: replicas: 1 diff --git a/xkcdgenerator/xkcd-generator-stargate.wadm.yaml b/xkcdgenerator/xkcd-generator-stargate.wadm.yaml index 6fc8426..e5fce9c 100644 --- a/xkcdgenerator/xkcd-generator-stargate.wadm.yaml +++ b/xkcdgenerator/xkcd-generator-stargate.wadm.yaml @@ -68,14 +68,14 @@ spec: components: - name: xkcd properties: - image: cosmonic.azurecr.io/xkcdgenerator:0.1.0 + image: ghcr.io/cosmonic/xkcdgenerator:0.1.0 traits: - properties: replicas: 1 spread: - name: stargate requirements: - # hostcore.os: macos + # hostcore.os: macos stargate: "true" type: spreadscaler - properties: @@ -92,7 +92,7 @@ spec: # This webserver integrates with AWS on Cosmonic; you could use a local HTTP Web Server # deployed on the remote host instead of, or in addition to, this one # - image: cosmonic.azurecr.io/httpserver_wormhole:0.5.4 + image: cosmonic.azurecr.io/httpserver_wormhole:0.6.2 traits: - properties: replicas: 1 @@ -105,14 +105,14 @@ spec: - name: httpclient properties: contract: wasmcloud:httpclient - image: wasmcloud.azurecr.io/httpclient:0.7.0 + image: wasmcloud.azurecr.io/httpclient:0.8.0 traits: - properties: replicas: 1 spread: - name: stargate requirements: - # hostcore.os: macos + # hostcore.os: macos stargate: "true" type: spreadscaler type: capability