Skip to content

Commit

Permalink
Merge pull request fermyon#2103 from vdice/chore/bump-fileserver-v0.2.1
Browse files Browse the repository at this point in the history
chore(templates/tests): bump spin fileserver component to v0.2.1
  • Loading branch information
vdice authored Nov 16, 2023
2 parents 92e4859 + 446c063 commit 8337a35
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/static-fileserver/content/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ route = "{{ http-path | http_wildcard }}"
component = "{{project-name | kebab_case}}"

[component.{{project-name | kebab_case}}]
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.1.0/spin_static_fs.wasm", digest = "sha256:96c76d9af86420b39eb6cd7be5550e3cb5d4cc4de572ce0fd1f6a29471536cb4" }
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.2.1/spin_static_fs.wasm", digest = "sha256:5f05b15f0f7cd353d390bc5ebffec7fe25c6a6d7a05b9366c86dcb1a346e9f0f" }
files = [{ source = "{{ files-path }}", destination = "/" }]
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ route = "{{ http-path | http_wildcard }}"
component = "{{project-name | kebab_case}}"

[component.{{project-name | kebab_case}}]
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.1.0/spin_static_fs.wasm", digest = "sha256:96c76d9af86420b39eb6cd7be5550e3cb5d4cc4de572ce0fd1f6a29471536cb4" }
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.2.1/spin_static_fs.wasm", digest = "sha256:5f05b15f0f7cd353d390bc5ebffec7fe25c6a6d7a05b9366c86dcb1a346e9f0f" }
files = [{ source = "{{ files-path }}", destination = "/" }]
2 changes: 1 addition & 1 deletion tests/testcases/assets-test/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "1.0.0"

[[component]]
id = "fs"
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.1.0/spin_static_fs.wasm", digest = "sha256:96c76d9af86420b39eb6cd7be5550e3cb5d4cc4de572ce0fd1f6a29471536cb4" }
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.2.1/spin_static_fs.wasm", digest = "sha256:5f05b15f0f7cd353d390bc5ebffec7fe25c6a6d7a05b9366c86dcb1a346e9f0f" }
files = [
{ source = "static/thisshouldbemounted", destination = "/thisshouldbemounted" },
]
Expand Down
2 changes: 1 addition & 1 deletion tests/watch/static-fileserver/spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ trigger = { type = "http" }
version = "0.1.0"

[[component]]
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.1.0/spin_static_fs.wasm", digest = "sha256:96c76d9af86420b39eb6cd7be5550e3cb5d4cc4de572ce0fd1f6a29471536cb4" }
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.2.1/spin_static_fs.wasm", digest = "sha256:5f05b15f0f7cd353d390bc5ebffec7fe25c6a6d7a05b9366c86dcb1a346e9f0f" }
id = "static-fileserver"
files = [ { source = "assets", destination = "/" } ]
[component.trigger]
Expand Down

0 comments on commit 8337a35

Please sign in to comment.