Skip to content

Commit 69ec4cc

Browse files
fix(examples): Reverts component SDK to previous version to match other examples
Signed-off-by: Taylor Thomas <[email protected]>
1 parent 2560a87 commit 69ec4cc

File tree

28 files changed

+84
-100
lines changed

28 files changed

+84
-100
lines changed

.github/workflows/component-go.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Go
22

33
on:
4-
# We trigger this workflow once a week on Saturdays to make sure the examples don't get stale
5-
schedule:
6-
- cron: "0 0 * * 6"
74
push:
85
branches: ["main"]
96
paths:
@@ -126,7 +123,7 @@ jobs:
126123
127124
- name: run tests
128125
working-directory: "./examples/component/${{ matrix.example }}"
129-
run: go test .
126+
run: go test ./...
130127

131128
# Run the wadm file and make sure it deploys
132129
- name: test component load

examples/component/http-password-checker/gen/wasi/cli/exit/exit.wit.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/component/http-password-checker/gen/wasi/filesystem/types/types.wit.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/component/http-password-checker/gen/wasi/http/types/abi.go

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/component/http-password-checker/gen/wasi/http/types/types.wit.go

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/component/http-password-checker/gen/wasi/io/poll/poll.wit.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/component/http-password-checker/gen/wasi/sockets/tcp/tcp.wit.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/component/http-password-checker/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ go 1.23.0
55
require (
66
github.com/stretchr/testify v1.10.0
77
github.com/wagslane/go-password-validator v0.3.0
8-
go.bytecodealliance.org v0.5.0
9-
go.bytecodealliance.org/cm v0.1.0
8+
go.bytecodealliance.org v0.4.1
109
go.wasmcloud.dev/component v0.0.5
1110
go.wasmcloud.dev/wadge v0.7.0
1211
)

examples/component/http-password-checker/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ github.com/urfave/cli/v3 v3.0.0-beta1 h1:6DTaaUarcM0wX7qj5Hcvs+5Dm3dyUTBbEwIWAjc
3333
github.com/urfave/cli/v3 v3.0.0-beta1/go.mod h1:FnIeEMYu+ko8zP1F9Ypr3xkZMIDqW3DR92yUtY39q1Y=
3434
github.com/wagslane/go-password-validator v0.3.0 h1:vfxOPzGHkz5S146HDpavl0cw1DSVP061Ry2PX0/ON6I=
3535
github.com/wagslane/go-password-validator v0.3.0/go.mod h1:TI1XJ6T5fRdRnHqHt14pvy1tNVnrwe7m3/f1f2fDphQ=
36-
go.bytecodealliance.org v0.5.0 h1:ywhCpF0JdqGkqct5JqSY1Me8lz001UIJXUaCSS32cew=
37-
go.bytecodealliance.org v0.5.0/go.mod h1:8kYTSxmQr8DU3dKOKCOHH1Ap1gWX/61qlFSbIuIno2Q=
38-
go.bytecodealliance.org/cm v0.1.0 h1:78Rk4d5rgir5Hm+LMFpDWhjmFBWrKDFPSKUwDBj+nwo=
39-
go.bytecodealliance.org/cm v0.1.0/go.mod h1:NZ2UT0DyGhBfpIPOxPMCuG6g1YTR4YF3xweD7mHX5VQ=
36+
go.bytecodealliance.org v0.4.1 h1:Y3Nnz+C061i9Hw4qQlSkZTg3IBTsTLC92+sdh4xCADQ=
37+
go.bytecodealliance.org v0.4.1/go.mod h1:jxAxqtTxs+6Q2q6bQnWa/lF+Q+2/LkdbqIgNJYxEmFA=
4038
go.wasmcloud.dev/component v0.0.5 h1:z9+fq1CJKm/yom33ctd5wfo8TVunm5IaI7EJdY2i9hk=
4139
go.wasmcloud.dev/component v0.0.5/go.mod h1:PvVHQ7Xp8D9kZnVB3fm8lqWAcC6Yxd7CI/snXZUAG8E=
4240
go.wasmcloud.dev/wadge v0.7.0 h1:eUt0jODh6xQ5HEof1PFSgDp+evrNs+lD1LYCYeRR2Cg=

examples/component/http-password-checker/wadm.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: core.oam.dev/v1beta1
22
kind: Application
33
metadata:
4-
name: tinygo-http-password-checker
4+
name: http-password-checker
55
annotations:
6-
description: 'Password strength checker which can also access secrets, written in Go'
6+
description: "Password strength checker which can also access secrets, written in Go"
77
wasmcloud.dev/authors: wasmCloud team
88
wasmcloud.dev/source-url: https://github.com/wasmCloud/wasmCloud/blob/main/examples/golang/components/http-hello-world/wadm.yaml
99
wasmcloud.dev/readme-md-url: https://github.com/wasmCloud/wasmCloud/blob/main/examples/golang/components/http-hello-world/README.md
@@ -26,7 +26,7 @@ spec:
2626
- name: httpserver
2727
type: capability
2828
properties:
29-
image: ghcr.io/wasmcloud/http-server:0.23.2
29+
image: ghcr.io/wasmcloud/http-server:0.25.0
3030
traits:
3131
# Link the httpserver to the component, and configure the HTTP server
3232
# to listen on port 8000 for incoming requests

0 commit comments

Comments
 (0)