Skip to content

Commit b29af83

Browse files
committed
chore: Push rust components
1 parent b11c508 commit b29af83

2 files changed

Lines changed: 25 additions & 5 deletions

File tree

obelisk-oci.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,23 @@ env_vars = [
4747
# "GITHUB_WEBHOOK_INSECURE=true" # to disable signature verification
4848
]
4949
backtrace.sources = { "/home/runner/work/demo-stargazers/demo-stargazers/webhook/webhook-rs/src/lib.rs" = "${DEPLOYMENT_DIR}/webhook/webhook-rs/src/lib.rs" }
50+
51+
[[activity]]
52+
name = "activity_llm_openai"
53+
location = "oci://docker.io/getobelisk/demo_stargazers_activity_llm_openai:2026-03-29@sha256:7fff6e2d50005b4cb0da3bf7b8b8aceeb05dd20af6c61e103ba2d2c182e9e8b0"
54+
55+
[[activity]]
56+
name = "activity_github_impl"
57+
location = "oci://docker.io/getobelisk/demo_stargazers_activity_github_impl:2026-03-29@sha256:a1f601f52ef6b93801503233600b3913d50ecbffc78e1d2046e13548615fcc12"
58+
59+
[[activity]]
60+
name = "activity_db_turso"
61+
location = "oci://docker.io/getobelisk/demo_stargazers_activity_db_turso:2026-03-29@sha256:cfc314fd849817b0057094859b3a58009e7024b97fcc124a757d593aa169ddfb"
62+
63+
[[workflow]]
64+
name = "workflow"
65+
location = "oci://docker.io/getobelisk/demo_stargazers_workflow:2026-03-29@sha256:73b30ab6bf627b1751a5491fb8cdd6ebb7764a3391f4d1270e6407e8bf5ae3e1"
66+
67+
[[webhook_endpoint]]
68+
name = "webhook"
69+
location = "oci://docker.io/getobelisk/demo_stargazers_webhook:2026-03-29@sha256:ac3ec877fed6557bcb2c45f7f9cc6582e4fa906e98b489055f4204c0b91e69cd"

scripts/push-components.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ PREFIX="docker.io/getobelisk/demo_stargazers_"
1212
push() {
1313
COMPONENT_TYPE=$1
1414
RELATIVE_PATH=$2
15-
15+
1616
FILE_NAME_WITHOUT_EXT=$(basename "$RELATIVE_PATH" | sed 's/\.[^.]*$//')
1717
OCI_LOCATION="${PREFIX}${FILE_NAME_WITHOUT_EXT}:${TAG}"
1818
echo "Pushing ${RELATIVE_PATH} to ${OCI_LOCATION}..."
1919
OUTPUT=$(obelisk component push "$RELATIVE_PATH" "$OCI_LOCATION")
2020

2121
# Replace the old location with the actual OCI location
22-
obelisk component add ${COMPONENT_TYPE} ${OUTPUT} --name ${FILE_NAME_WITHOUT_EXT} -c $TOML_FILE
22+
obelisk component add ${COMPONENT_TYPE} ${OUTPUT} --name ${FILE_NAME_WITHOUT_EXT} --deployment $TOML_FILE
2323
}
2424

2525
# Rebuild rust components
2626
just rust
2727

28-
push activity_wasm "target/wasm32-wasip2/release/activity_llm_openai.wasm"
29-
push activity_wasm "target/wasm32-wasip2/release/activity_github_impl.wasm"
30-
push activity_wasm "target/wasm32-wasip2/release/activity_db_turso.wasm"
28+
push activity "target/wasm32-wasip2/release/activity_llm_openai.wasm"
29+
push activity "target/wasm32-wasip2/release/activity_github_impl.wasm"
30+
push activity "target/wasm32-wasip2/release/activity_db_turso.wasm"
3131
push workflow "target/wasm32-unknown-unknown/release/workflow.wasm"
3232
push webhook_endpoint "target/wasm32-wasip2/release/webhook.wasm"
3333

0 commit comments

Comments
 (0)