Skip to content

Commit 2b0d329

Browse files
committed
build: Migrate to Obelisk 0.41.0-rc.1
1 parent 1b1bff0 commit 2b0d329

16 files changed

Lines changed: 71 additions & 34 deletions

File tree

.github/workflows/check-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646

4747
- name: Verify configs
4848
run: |
49-
nix develop --command just verify --allow-unavailable-runtime-config --skip-db
49+
nix develop --command just verify --allow-unavailable-runtime-config

.github/workflows/sync-flake-lock.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121

2222
- name: Sync flake.lock and rust-toolchain.toml from upstream
2323
run: |
24-
curl https://raw.githubusercontent.com/obeli-sk/obelisk/refs/heads/latest/flake.lock -o flake.lock
25-
UPSTREAM=https://raw.githubusercontent.com/obeli-sk/obelisk/refs/heads/latest/rust-toolchain.toml
24+
curl https://raw.githubusercontent.com/obeli-sk/obelisk/refs/heads/latest-pre/flake.lock -o flake.lock
25+
UPSTREAM=https://raw.githubusercontent.com/obeli-sk/obelisk/refs/heads/latest-pre/rust-toolchain.toml
2626
CHANNEL=$(curl -fsSL "$UPSTREAM" | grep '^channel =')
2727
sed -i "s/^channel =.*/$CHANNEL/" rust-toolchain.toml
2828
@@ -79,4 +79,3 @@ jobs:
7979
fi
8080
env:
8181
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PR_RW }}
82-

Justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ test-integration:
1212
(cd activity/obelisk-&& TEST_ENDPOINT_URL=http://localhost:5005 cargo nextest run -- --ignored)
1313

1414
verify *params:
15-
obelisk server verify --server-config server.toml --deployment obelisk-local.toml {{params}}
16-
obelisk server verify --server-config server-postgres.toml --deployment obelisk-local-postgres.toml {{params}}
17-
obelisk server verify --server-config server.toml --deployment obelisk-oci.toml {{params}}
15+
obelisk deployment verify --server-config server.toml --deployment obelisk-local.toml {{params}}
16+
obelisk deployment verify --server-config server-postgres.toml --deployment obelisk-local-postgres.toml {{params}}
17+
obelisk deployment verify --server-config server.toml --deployment obelisk-oci.toml {{params}}
1818

1919
serve:
2020
obelisk server run --server-config server.toml --deployment ${CONFIG:-obelisk-local.toml}

dev-deps.txt

Lines changed: 6 additions & 6 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
1+
cargo-edit-upgrade 0.13.13
2+
cargo-expand 1.0.124
33
cargo generate 0.23.9
4-
cargo-insta 1.47.2
4+
cargo-insta 1.48.0
55
cargo-nextest 0.9.140
6-
just 1.55.1
7-
obelisk 0.40.0
6+
just 1.57.0
7+
obelisk 0.41.0-rc.1
88
pkg-config 0.29.2
99
rustc 1.96.0 (ac68faa20 2026-05-25)
10-
wasm-tools 1.253.0
10+
wasm-tools 1.254.0
1111
ldd (GNU libc) 2.42

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";

obelisk-local-postgres.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ max_retries = 6
66
[[activity_wasm.allowed_host]]
77
pattern = "https://api.machines.dev"
88
methods = "*"
9-
[activity_wasm.allowed_host.secrets]
10-
env_vars = ["FLY_API_TOKEN"]
9+
secrets = ["FLY_API_TOKEN"]
1110
replace_in = ["headers"]
1211

1312
# HTTP Client for health checking.

obelisk-local.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ max_retries = 6
66
[[activity_wasm.allowed_host]]
77
pattern = "https://api.machines.dev"
88
methods = "*"
9-
[activity_wasm.allowed_host.secrets]
10-
env_vars = ["FLY_API_TOKEN"]
9+
secrets = ["FLY_API_TOKEN"]
1110
replace_in = ["headers"]
1211

1312
# HTTP Client for health checking.

obelisk-oci.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ max_retries = 6
66
[[activity_wasm.allowed_host]]
77
pattern = "https://api.machines.dev"
88
methods = "*"
9-
[activity_wasm.allowed_host.secrets]
10-
env_vars = ["FLY_API_TOKEN"]
9+
secrets = ["FLY_API_TOKEN"]
1110
replace_in = ["headers"]
1211

1312
# HTTP Client for health checking.

server-postgres.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ database.postgres.password = "${POSTGRES_PASSWORD}"
44
database.postgres.db_name = "${POSTGRES_DATABASE}"
55
database.postgres.provision_policy = "auto"
66

7+
[secrets]
8+
FLY_API_TOKEN = { env = "FLY_API_TOKEN" }
9+
10+
[[outbound_http.allowed_host]]
11+
pattern = "https://api.machines.dev"
12+
methods = "*"
13+
secrets = ["FLY_API_TOKEN"]
14+
replace_in = ["headers"]
15+
16+
[[outbound_http.allowed_host]]
17+
pattern = "https://*.fly.dev:444"
18+
methods = "*"
19+
20+
[[outbound_http.allowed_host]]
21+
pattern = "https://*.fly.dev"
22+
methods = ["GET", "POST"]
23+
724
[log.file]
825
enabled = true
926
target = true

0 commit comments

Comments
 (0)