Commit ba0ef8a
authored
feat(deploy): publish-trading-v0 — one-shot v0 publish for 4 trading blueprints (#158)
* feat(deploy): record every registered blueprint variant + per-binary publish
The multi-blueprint repos (ai-agent-sandbox, ai-trading) each register their
full set on-chain (sandbox: cloud/instance/tee = ids 10-12; trading:
trading/instance/tee/validator = ids 13-16), but the sweep's manifest parser
kept only the last id per repo (tail -1), so blueprints.tsv recorded 1 of 3-4
and even mislabelled trading (id 16 is the validator, not the main blueprint).
- register-blueprints.sh: record ONE manifest row per emitted
DEPLOY_<LABEL>BLUEPRINT_ID, pairing each with its same-label BSM. All
variants now land in the manifest on a re-run.
- blueprints.tsv: rebuilt as the complete 17-blueprint manifest from on-chain
truth (blueprintCount=17), with the operator binary name + variant recorded
per row — the bin->id map the publish step needs.
- publish-blueprint-binary.yml: optional `binary_name` input so a
multi-blueprint repo publishes the right binary to the right id (asset match
becomes "<binary>-<triple>.tar.xz").
* feat(deploy): publish-trading-v0 — one-shot v0 publish for the four trading blueprints
Closes the `no_v0_published` column for blueprint ids 13/14/15/16 on Base Sepolia
in one invocation. Pulls each binary's x86_64-unknown-linux-gnu tar.xz from the
ai-trading-blueprint GitHub Release (default v0.1.3), computes sha256, and
delegates to deploy/publish-binary.sh which is already append-only + idempotent.
PRIVATE_KEY=<owner> ./deploy/publish-trading-v0.sh
TANGLE_CORE auto-loads from deployments/base-sepolia/latest.json; RPC defaults
to https://sepolia.base.org. Override TAG if a newer release supersedes v0.1.3.1 parent 6e1c818 commit ba0ef8a
1 file changed
Lines changed: 66 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments