Skip to content

Commit 465d9c8

Browse files
committed
chore: Migrate to Obelisk 0.25.1
1 parent 3dede33 commit 465d9c8

5 files changed

Lines changed: 16 additions & 15 deletions

File tree

.envrc-example

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export FLY_ORG_SLUG="personal"
99
# App name: Either create fly.toml based on fly-example.toml and extract the app name, or just enter it here.
1010
export FLY_APP_NAME=$(grep '^app' fly.toml | sed -E 's/app *= *["'\'']([^"'\''"]+)["'\'']/\1/')
1111

12-
export FLY_IMAGE="getobelisk/obelisk:0.24.1-ubuntu"
13-
export FLY_MACHINE_NAME="machine"
1412
export FLY_REGION="ams"
13+
14+
// Only for directly running machines.create as described in README.md
15+
export FLY_MACHINE_NAME="some-machine"

flake.lock

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

scripts/json-app-init-stargazers.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,33 @@ cat <<EOF
88
"activity-wasm-list":[
99
{
1010
"name": "stargazers_activity_llm_chatgpt",
11-
"location-oci": "docker.io/getobelisk/demo_stargazers_activity_llm_openai:2025-09-01@sha256:9cde0e4feb0ad69f476eeeb274628ea230314f557e1aa1a3bfa3ee05ecc584ae",
11+
"location-oci": "docker.io/getobelisk/demo_stargazers_activity_llm_openai:2025-09-28@sha256:4b10a66c80bec625a6b0a2e8a4b5192f8a2356eca19c0a6705335771a8b8b1e8",
1212
"env-vars":["OPENAI_API_KEY"],
1313
"lock-expiry-seconds": 10
1414
},
1515
{
1616
"name": "stargazers_activity_github_impl",
17-
"location-oci": "docker.io/getobelisk/demo_stargazers_activity_github_impl:2025-09-01@sha256:1dd39ff12539353c12ffa36f225fcd003a7cf57ebed49c3db78f259cf556fd6c",
17+
"location-oci": "docker.io/getobelisk/demo_stargazers_activity_github_impl:2025-09-28@sha256:8f6fc9b1379b359e085998fa2fd7c966c450327d09770807dfba4b2f75731d72",
1818
"env-vars": ["GITHUB_TOKEN"],
1919
"lock-expiry-seconds": 5
2020
},
2121
{
2222
"name": "stargazers_activity_db_turso",
23-
"location-oci": "docker.io/getobelisk/demo_stargazers_activity_db_turso:2025-09-01@sha256:87ec6d390e25640e1d968fb419086742c53f5731b29f86d567212cb46b4fa2ed",
23+
"location-oci": "docker.io/getobelisk/demo_stargazers_activity_db_turso:2025-09-28@sha256:26b08b3d0c6e430944d8187a00bd9817a83ab89e11ba72d15e7533a758addf33",
2424
"env-vars": ["TURSO_TOKEN", "TURSO_LOCATION"],
2525
"lock-expiry-seconds": 5
2626
}
2727
],
2828
"workflow-list":[
2929
{
3030
"name": "stargazers_workflow",
31-
"location-oci": "docker.io/getobelisk/demo_stargazers_workflow:2025-09-01@sha256:11c662196dd579f3f19e61caf565017a61f944140fa8c92993c742e69a3d8da9"
31+
"location-oci": "docker.io/getobelisk/demo_stargazers_workflow:2025-09-28@sha256:678d85e3e2f89d22794fd1ffc0217bf23510e1349ee150a54d5c82cc2ef75834"
3232
}
3333
],
3434
"webhook-endpoint-list":[
3535
{
3636
"name": "stargazers_webhook",
37-
"location-oci": "docker.io/getobelisk/demo_stargazers_webhook:2025-09-01@sha256:0fb0042da931bedea3f616a9eca40468032625d0fd69333dc2733f576a8887d9",
37+
"location-oci": "docker.io/getobelisk/demo_stargazers_webhook:2025-09-28@sha256:aa4dfa18d1ad7c1623163eeabb41a415ebad5296fca8f3b957987afcdb2a0f40",
3838
"routes": [{ "methods": ["POST", "GET"], "path": "" }],
3939
"env-vars": ["GITHUB_WEBHOOK_SECRET"]
4040
}

workflow/deployer-workflow/impl-flyio/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const TEMP_VM_NAME: &str = "temp";
3535
const SLEEP: &str = "/usr/bin/sleep";
3636
const INFINITY: &str = "infinity";
3737
const VOLUME_MOUNT_PATH: &str = "/volume";
38-
const IMAGE: &str = "getobelisk/obelisk:0.24.2-ubuntu";
38+
const IMAGE: &str = "getobelisk/obelisk:0.25.1-ubuntu";
3939
const OBELISK_TOML_PATH: &str = formatcp!("{VOLUME_MOUNT_PATH}/obelisk.toml");
4040
const OBELISK_BIN_PATH: &str = "/obelisk/obelisk";
4141
const REGION: Region = Region::Ams; // TODO: Move to env var
@@ -205,7 +205,7 @@ impl Guest for Component {
205205
AppInitError::AppNameConflict
206206
}
207207
AppInitNoCleanupError::AppInitModifyError(err) => cleanup(&app_name, Some(err)),
208-
AppInitNoCleanupError::ExecutionFailure => cleanup(&app_name, None),
208+
AppInitNoCleanupError::ExecutionFailed => cleanup(&app_name, None),
209209
},
210210
)
211211
}

workflow/deployer-workflow/wit/obelisk-flyio_workflow@1.0.0-beta/types.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ interface types {
6464
app-name-conflict,
6565
app-create-error(string),
6666
app-init-modify-error(app-init-modify-error),
67-
execution-failure,
67+
execution-failed,
6868
}
6969

7070
variant app-init-error {
@@ -75,13 +75,13 @@ interface types {
7575
/// App init failed, cleanup failed.
7676
/// The associated value contains the reason of failure, if available.
7777
cleanup-failed(app-cleanup-failed),
78-
execution-failure,
78+
execution-failed,
7979
}
8080

8181
variant serve-error {
8282
vm-start-error(string),
8383
healthcheck-error(string),
84-
execution-failure,
84+
execution-failed,
8585
}
8686

8787
}

0 commit comments

Comments
 (0)