0
0
docs/plans/0040: 0020 design
docs/plans/0040-release-pipeline.md+17−1
| @@ -205,7 +205,23 @@ installed bidder core | ||
Built (2026-11-16): `internal/releasefollow` (contract `internal/contract/release`), the watch | ||
`deploy/apps/market-bidder/release-channel-watch.prod.yaml` (set phase `release-channel-watch@prod-qr`), and | ||
`internal/stack/bidder/release.go` `followRelease` started from the installed core's `Members` (off for a dev build or a | ||
core without `bin/current`; `rc` for a version with `-rc`, else `stable`). Not yet proven. Order: the first `rc` channel | ||
core without `bin/current`; `rc` for a version with `-rc`, else `stable`). Not yet proven. | ||
| ||
Composition 0020 (staging only; modelled on 0013 entry `c`): | ||
| ||
``` | ||
root.putBinary the run's build on a staging VM | ||
install bidder --market-network-file (profile market-network), pdsAccount as the run's account, | ||
--bidder-spec-file with option release-repo = the account's DID | ||
release.put project, manifest (the other build: url, CIDv1 raw sha2-256, size), version, channel rc | ||
heartbeat the bidder's heartbeat version becomes the other build's (10 min) | ||
release.put channel rc back to a version of the run's build | ||
heartbeat back to the run's version | ||
uninstall bidder --purge; the records deleted | ||
``` | ||
| ||
Both builds must have the follower: the other build is an input (`otherBuild {version, url, sha256, size}`), a published | ||
main build from 6f7f2391 on (`main/<sha>/binaries/`). Order: the first `rc` channel | ||
target must be a build that has the follower (rc169 or later): a bidder that follows rc168 (53cad0e3, no follower) stops | ||
following. | ||