Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
352 changes: 176 additions & 176 deletions .github/workflows/ci.yaml

Large diffs are not rendered by default.

21 changes: 5 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ golem-video = { path = "video/video", version = "0.0.0", default-features = fals
golem-stt = { path = "stt/stt", version = "0.0.0", default-features = false }
golem-embed = { path = "embed/embed", version = "0.0.0", default-features = false}
futures = "0.3.31"
golem-rust = "=1.9.0"
golem-rust = "=1.10.0"
golem-wasi-http = { version = "0.1.0", features = ["json"] }
log = "0.4.27"
serde = { version = "1.0", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions test/embed/common-rust/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

templates:
rust:
profiles:
presets:
default: true
debug:
build:
- command: cargo component build
Expand Down Expand Up @@ -38,7 +39,6 @@ templates:
linkedWasm: ../../golem-temp/components/{{ component_name | to_snake_case }}_release.wasm
clean:
- src/bindings.rs
defaultProfile: debug
customCommands:
cargo-clean:
- command: cargo clean
5 changes: 2 additions & 3 deletions test/embed/components-rust/test-embed/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

components:
test:embed:
profiles:
presets:
# DEBUG PROFILES
openai-debug:
default: true
build:
- command: cargo component build --no-default-features --features openai
sources:
Expand Down Expand Up @@ -186,8 +187,6 @@ components:
clean:
- src/bindings.rs

defaultProfile: openai-debug

dependencies:
test:embed:
- target: test:helper
Expand Down
2 changes: 1 addition & 1 deletion test/embed/components-rust/test-helper/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

components:
test:helper:
template: rust
templates: rust

# Example for adding dependencies for Worker to Worker communication:
# See https://learn.golem.cloud/docs/app-manifest#fields_dependencies for more information
Expand Down
10 changes: 10 additions & 0 deletions test/embed/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@

# See https://learn.golem.cloud/docs/app-manifest#field-reference for field reference

app: golem-ai-embed-test-app

includes:
- common-*/golem.yaml
- components-*/*/golem.yaml
witDeps:
- wit/deps

environments:
local:
server: local
componentPresets: debug
cloud:
server: cloud
componentPresets: release
4 changes: 2 additions & 2 deletions test/exec/common-rust/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

templates:
rust:
profiles:
presets:
debug:
default: true
build:
- command: cargo component build
sources:
Expand Down Expand Up @@ -41,7 +42,6 @@ templates:
linkedWasm: ../../golem-temp/components/{{ component_name | to_snake_case }}_release.wasm
clean:
- src/bindings.rs
defaultProfile: debug
customCommands:
cargo-clean:
- command: cargo clean
5 changes: 2 additions & 3 deletions test/exec/components-rust/test-exec-js/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

components:
test:exec-js:
profiles:
presets:
debug:
default: true
build:
- command: cargo component build --no-default-features
sources:
Expand Down Expand Up @@ -53,8 +54,6 @@ components:
clean:
- src/bindings.rs

defaultProfile: debug

dependencies:
test:exec-js:
# NOTE: cannot use wasm dependency here yet because of a bug in golem-cli 1.2.5
Expand Down
2 changes: 1 addition & 1 deletion test/exec/components-rust/test-exec-py/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

components:
test:exec-py:
template: rust
templates: rust

dependencies:
test:exec-py:
Expand Down
2 changes: 1 addition & 1 deletion test/exec/components-rust/test-helper/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

components:
test:helper:
template: rust
templates: rust

# Example for adding dependencies for Worker to Worker communication:
# See https://learn.golem.cloud/docs/app-manifest#fields_dependencies for more information
Expand Down
10 changes: 10 additions & 0 deletions test/exec/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@
# See https://learn.golem.cloud/docs/app-manifest#field-reference for field reference
# For creating APIs see https://learn.golem.cloud/invoke/making-custom-apis

app: golem-ai-exec-test-app

includes:
- common-*/golem.yaml
- components-*/*/golem.yaml
witDeps:
- wit/deps

environments:
local:
server: local
componentPresets: debug
cloud:
server: cloud
componentPresets: release
4 changes: 2 additions & 2 deletions test/graph/common-rust/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

templates:
rust:
profiles:
presets:
debug:
default: true
build:
- command: cargo component build
sources:
Expand Down Expand Up @@ -38,7 +39,6 @@ templates:
linkedWasm: ../../golem-temp/components/{{ component_name | to_snake_case }}_release.wasm
clean:
- src/bindings.rs
defaultProfile: debug
customCommands:
cargo-clean:
- command: cargo clean
5 changes: 2 additions & 3 deletions test/graph/components-rust/test-graph/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

components:
test:graph:
profiles:
presets:
# DEBUG PROFILES
neo4j-debug:
default: true
build:
- command: cargo component build --no-default-features --features neo4j
sources:
Expand Down Expand Up @@ -142,8 +143,6 @@ components:
clean:
- src/bindings.rs

defaultProfile: neo4j-debug

dependencies:
test:graph:
- target: test:helper
Expand Down
2 changes: 1 addition & 1 deletion test/graph/components-rust/test-helper/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

components:
test:helper:
template: rust
templates: rust

# Example for adding dependencies for Worker to Worker communication:
# See https://learn.golem.cloud/docs/app-manifest#fields_dependencies for more information
Expand Down
10 changes: 10 additions & 0 deletions test/graph/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@

# See https://learn.golem.cloud/docs/app-manifest#field-reference for field reference

app: golem-ai-graph-test-app

includes:
- common-*/golem.yaml
- components-*/*/golem.yaml
witDeps:
- wit/deps

environments:
local:
server: local
componentPresets: debug
cloud:
server: cloud
componentPresets: release
4 changes: 2 additions & 2 deletions test/llm/common-rust/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

templates:
rust:
profiles:
presets:
debug:
default: true
build:
- command: cargo component build
sources:
Expand Down Expand Up @@ -38,7 +39,6 @@ templates:
linkedWasm: ../../golem-temp/components/{{ component_name | to_snake_case }}_release.wasm
clean:
- src/bindings.rs
defaultProfile: debug
customCommands:
cargo-clean:
- command: cargo clean
2 changes: 1 addition & 1 deletion test/llm/components-rust/test-helper/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

components:
test:helper:
template: rust
templates: rust

# Example for adding dependencies for Worker to Worker communication:
# See https://learn.golem.cloud/docs/app-manifest#fields_dependencies for more information
Expand Down
5 changes: 2 additions & 3 deletions test/llm/components-rust/test-llm/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

components:
test:llm:
profiles:
presets:
# DEBUG PROFILES
openai-debug:
default: true
files:
- sourcePath: ../../data/cat.png
targetPath: /data/cat.png
Expand Down Expand Up @@ -322,8 +323,6 @@ components:
clean:
- src/bindings.rs

defaultProfile: openai-debug

dependencies:
test:llm:
- target: test:helper
Expand Down
10 changes: 10 additions & 0 deletions test/llm/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@

# See https://learn.golem.cloud/docs/app-manifest#field-reference for field reference

app: golem-ai-llm-test-app

includes:
- common-*/golem.yaml
- components-*/*/golem.yaml
witDeps:
- wit/deps

environments:
local:
server: local
componentPresets: debug
cloud:
server: cloud
componentPresets: release
4 changes: 2 additions & 2 deletions test/search/common-rust/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

templates:
rust:
profiles:
presets:
debug:
default: true
build:
- command: cargo component build
sources:
Expand Down Expand Up @@ -38,7 +39,6 @@ templates:
linkedWasm: ../../golem-temp/components/{{ component_name | to_snake_case }}_release.wasm
clean:
- src/bindings.rs
defaultProfile: debug
customCommands:
cargo-clean:
- command: cargo clean
2 changes: 1 addition & 1 deletion test/search/components-rust/test-helper/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

components:
test:helper:
template: rust
templates: rust

# Example for adding dependencies for Worker to Worker communication:
# See https://learn.golem.cloud/docs/app-manifest#fields_dependencies for more information
Expand Down
5 changes: 2 additions & 3 deletions test/search/components-rust/test-search/golem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

components:
test:search:
profiles:
presets:
# DEBUG PROFILES
algolia-debug:
default: true
build:
- command: cargo component build --no-default-features --features algolia
sources:
Expand Down Expand Up @@ -230,8 +231,6 @@ components:
clean:
- src/bindings.rs

defaultProfile: algolia-debug

dependencies:
test:search:
- target: test:helper
Expand Down
Loading
Loading