Deploying the platform
Since 2026-10-07 every platform image in prod has been built on the build
box (192.168.100.98) because the hosted GitHub runners kill the test job
during compilation. Until 2026-10-12 those builds ran with no test or
clippy gate and the six platform tags drifted across five commits.
nexus-platform/scripts/ship.sh is now the one way to ship:
scripts/ship.sh [<commit>=HEAD] [--no-deploy] [--images "nexus-worker nexus-core"]
- Exports exactly that commit (
git archive) to the box; the working tree is never shipped. - On the box,
scripts/box-build.shruns the workflow's gate (cargo test --workspace --exclude nexus-mob-hostand clippy with-D warningsover the money crates), then builds and pushesnexus-core,nexus-worker,nexus-telegram,nexus-mob-hostandnexus-oracleundersha-<first 12 of the sha>. A failed gate ships nothing.SKIP_GATE=1exists for emergencies and must be named in the gitops commit. - Bumps
core,worker,telegram,mobHost,assistantHostandoracleinnexus-gitops/environments/prod/values.yamlto the same tag in one commit and pushes it; Argo rolls the pods.
The signer (nexus-solana), the UI and the docs still build on GitHub and
bump their own tags; [skip ci] on their commits means no image and no
bump. The mob-host image carries its own copy of the decision contract, so
any contract change must ship host and worker together, which lockstep
guarantees.
A rule or goal change needs no deploy: the registry is read at every dispatch and sweep.