Skip to content

Commit 5d37b5e

Browse files
committed
build: Migrate to Obelisk 0.41.0-rc.1
1 parent 635741f commit 5d37b5e

38 files changed

Lines changed: 180 additions & 100 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Run locally with (`just build` builds into the component-local `target/` that
312312
`obelisk-local.toml` points at):
313313
```bash
314314
just build
315-
obelisk server run --deployment ./obelisk-local.toml
315+
obelisk server run --server-config ./server.toml --deployment ./obelisk-local.toml
316316
```
317317

318318
Submit an execution (in another terminal):

Cargo.lock

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

dev-deps.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
cargo-edit-upgrade 0.13.11
2-
cargo-expand 1.0.123
3-
cargo-insta 1.47.2
1+
cargo-edit-upgrade 0.13.13
2+
cargo-expand 1.0.124
3+
cargo-insta 1.48.0
44
cargo-nextest 0.9.140
5-
just 1.55.1
6-
obelisk 0.40.0
5+
just 1.57.0
6+
obelisk 0.41.0-rc.1
77
pkg-config 0.29.2
88
rustc 1.96.0 (ac68faa20 2026-05-25)
9-
wasm-tools 1.253.0
10-
wasmtime 46.0.1
9+
wasm-tools 1.254.0
10+
wasmtime 47.0.3
1111
ldd (GNU libc) 2.42

docker/activity-docker/Justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
build:
22

33
verify-local:
4-
obelisk server verify --allow-unavailable-runtime-config --deployment obelisk-local.toml
4+
obelisk deployment verify --allow-unavailable-runtime-config --deployment obelisk-local.toml
55

66
verify-oci:
7-
obelisk server verify --allow-unavailable-runtime-config --deployment obelisk-oci.toml
7+
obelisk deployment verify --allow-unavailable-runtime-config --deployment obelisk-oci.toml
88

99
push tag:
1010
(../../scripts/push-components.sh {{ tag }})

flake.lock

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

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
};
1010
};
1111
obelisk = {
12-
url = "github:obeli-sk/obelisk/latest";
12+
url = "github:obeli-sk/obelisk/latest-pre";
1313
inputs = {
1414
nixpkgs.follows = "nixpkgs";
1515
flake-utils.follows = "flake-utils";

fly/activity-fly-http/Justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ build:
22
CARGO_TARGET_DIR=target cargo build --profile=release_activity
33

44
verify-local:
5-
obelisk server verify --allow-unavailable-runtime-config --deployment obelisk-local.toml
5+
obelisk deployment verify --server-config server.toml --allow-unavailable-runtime-config --deployment obelisk-local.toml
66

77
verify-oci:
8-
obelisk server verify --allow-unavailable-runtime-config --deployment obelisk-oci.toml
8+
obelisk deployment verify --server-config server.toml --allow-unavailable-runtime-config --deployment obelisk-oci.toml
99

1010
push tag:
1111
(../../scripts/push-components.sh {{ tag }})
1212

1313
serve:
14-
obelisk server run --deployment obelisk-local.toml
14+
obelisk server run --server-config server.toml --deployment obelisk-local.toml

fly/activity-fly-http/obelisk-local.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ exec.lock_expiry.seconds = 15
55
[[activity_wasm.allowed_host]]
66
pattern = "https://api.machines.dev"
77
methods = "*"
8-
[activity_wasm.allowed_host.secrets]
9-
env_vars = ["FLY_API_TOKEN"]
8+
secrets = ["FLY_API_TOKEN"]
109
replace_in = ["headers"]

fly/activity-fly-http/obelisk-oci.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ exec.lock_expiry.seconds = 15
55
[[activity_wasm.allowed_host]]
66
pattern = "https://api.machines.dev"
77
methods = "*"
8-
[activity_wasm.allowed_host.secrets]
9-
env_vars = ["FLY_API_TOKEN"]
8+
secrets = ["FLY_API_TOKEN"]
109
replace_in = ["headers"]

fly/activity-fly-http/server.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[secrets]
2+
FLY_API_TOKEN = { env = "FLY_API_TOKEN" }
3+
4+
[[outbound_http.allowed_host]]
5+
pattern = "https://api.machines.dev"
6+
methods = "*"
7+
secrets = ["FLY_API_TOKEN"]
8+
replace_in = ["headers"]

0 commit comments

Comments
 (0)