Skip to content

Commit 864c033

Browse files
committed
refactor: Add OBELISK_TOML_DIR prefix to each location.path
1 parent 77eea7c commit 864c033

10 files changed

Lines changed: 49 additions & 49 deletions

obelisk-local-go-activity.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai_go"
9-
location.path = "activity/llm/openai-go/dist/openai-go.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-go/dist/openai-go.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { "${OBELISK_TOML_DIR}/workflow/workflow-rs/src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/workflow-rs/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook"
42-
location.path = "target/wasm32-wasip2/release/webhook.wasm"
42+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
forward_stdout = "stderr"

obelisk-local-go-all.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai_go"
9-
location.path = "activity/llm/openai-go/dist/openai-go.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-go/dist/openai-go.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow_go"
33-
location.path = "workflow/workflow-go/dist/workflow-go.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/workflow/workflow-go/dist/workflow-go.wasm"
3434
stub_wasi = true
3535
[workflow.backtrace.sources]
3636
"${OBELISK_TOML_DIR}/workflow/workflow-go/main.go" = "${OBELISK_TOML_DIR}/workflow/workflow-go/main.go"
@@ -44,7 +44,7 @@ listening_addr = "0.0.0.0:9090"
4444

4545
[[webhook_endpoint]]
4646
name = "webhook_go"
47-
location.path = "webhook/webhook-go/dist/webhook-go.wasm"
47+
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-go/dist/webhook-go.wasm"
4848
http_server = "webhook_server"
4949
routes = [{ methods = ["POST", "GET"], route = "" }]
5050
env_vars = [

obelisk-local-go-webhook.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai"
9-
location.path = "target/wasm32-wasip2/release/activity_llm_openai.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { "${OBELISK_TOML_DIR}/workflow/workflow-rs/src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/workflow-rs/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook_go"
42-
location.path = "webhook/webhook-go/dist/webhook-go.wasm"
42+
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-go/dist/webhook-go.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
env_vars = [

obelisk-local-go-workflow.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai"
9-
location.path = "target/wasm32-wasip2/release/activity_llm_openai.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow_go"
33-
location.path = "workflow/workflow-go/dist/workflow-go.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/workflow/workflow-go/dist/workflow-go.wasm"
3434
stub_wasi = true
3535
[workflow.backtrace.sources]
3636
"${OBELISK_TOML_DIR}/workflow/workflow-go/main.go" = "${OBELISK_TOML_DIR}/workflow/workflow-go/main.go"
@@ -44,7 +44,7 @@ listening_addr = "0.0.0.0:9090"
4444

4545
[[webhook_endpoint]]
4646
name = "webhook"
47-
location.path = "target/wasm32-wasip2/release/webhook.wasm"
47+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
4848
http_server = "webhook_server"
4949
routes = [{ methods = ["POST", "GET"], route = "" }]
5050
forward_stdout = "stderr"

obelisk-local-js-activity.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "openai_js"
9-
location.path = "activity/llm/openai-js/dist/openai-js.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-js/dist/openai-js.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { "${OBELISK_TOML_DIR}/workflow/workflow-rs/src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/workflow-rs/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook"
42-
location.path = "target/wasm32-wasip2/release/webhook.wasm"
42+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
forward_stdout = "stderr"

obelisk-local-js-all.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,39 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "openai_js"
9-
location.path = "activity/llm/openai-js/dist/openai-js.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-js/dist/openai-js.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow_js"
33-
location.path = "workflow/workflow-js/dist/workflow-js.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/workflow/workflow-js/dist/workflow-js.wasm"
3434

3535
[[http_server]]
3636
name = "webhook_server"
3737
listening_addr = "0.0.0.0:9090"
3838

3939
[[webhook_endpoint]]
4040
name = "webhook"
41-
location.path = "webhook/webhook-js/dist/webhook-js.wasm"
41+
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-js/dist/webhook-js.wasm"
4242
http_server = "webhook_server"
4343
routes = [{ methods = ["POST", "GET"], route = "" }]
4444
env_vars = [

obelisk-local-js-webhook.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai"
9-
location.path = "target/wasm32-wasip2/release/activity_llm_openai.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { "${OBELISK_TOML_DIR}/workflow/workflow-rs/src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/workflow-release/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook_js"
42-
location.path = "webhook/webhook-js/dist/webhook-js.wasm"
42+
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-js/dist/webhook-js.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
env_vars = [

obelisk-local-js-workflow.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,39 @@ enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai"
9-
location.path = "target/wasm32-wasip2/release/activity_llm_openai.wasm"
9+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow_js"
33-
location.path = "workflow/workflow-js/dist/workflow-js.wasm"
33+
location.path = "${OBELISK_TOML_DIR}/workflow/workflow-js/dist/workflow-js.wasm"
3434

3535
[[http_server]]
3636
name = "webhook_server"
3737
listening_addr = "0.0.0.0:9090"
3838

3939
[[webhook_endpoint]]
4040
name = "webhook"
41-
location.path = "target/wasm32-wasip2/release/webhook.wasm"
41+
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
4242
http_server = "webhook_server"
4343
routes = [{ methods = ["POST", "GET"], route = "" }]
4444
forward_stdout = "stderr"

0 commit comments

Comments
 (0)