Skip to content

Commit 686cea0

Browse files
committed
ci: Simplify push-components for triaging snapshot acceptance on CI
1 parent 0ec7b79 commit 686cea0

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

scripts/push-components.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,20 @@ push() {
2121
}
2222

2323
# Build components
24-
just build
24+
#just build
2525

26-
push "target/wasm32-unknown-unknown/release_workflow/obelisk_deployer_flyio.wasm"
27-
push "target/wasm32-wasip2/release_webhook/webhook_healthcheck.wasm"
26+
#push "target/wasm32-unknown-unknown/release_workflow/obelisk_deployer_flyio.wasm"
27+
#push "target/wasm32-wasip2/release_webhook/webhook_healthcheck.wasm"
28+
FILE_NAME_WITHOUT_EXT="webhook_healthcheck"
29+
OUTPUT="new"
30+
sed -i -E "/name = \"${FILE_NAME_WITHOUT_EXT}\"/{n;s|location\.oci = \".*\"|location.oci = \"${OUTPUT}\"|}" "$TOML_FILE"
31+
git status -s
2832

2933
echo "All components pushed and TOML file updated successfully."
3034

3135
# obelisk.toml is parsed in toml.rs, snapshots will need updating.
3236
./scripts/test.sh || true
37+
38+
git status -s
39+
3340
cargo insta accept --workspace

0 commit comments

Comments
 (0)