0
0
plan 0040: two CI rolls
docs/plans/0040-release-pipeline.md+8−4
| @@ -307,15 +307,19 @@ listed DIDs as every rental's `bidderDids`. | ||
| ||
## Done when | ||
| ||
Prod is rolled by CI, never by hand. In order: | ||
Prod is rolled by CI, twice, never by hand. In order: | ||
| ||
1. Rollback proven: a red rc on main (promote) moves `rc` back to the previous version and redeploys the droplets to the | ||
previous binary. | ||
2. Bootstrap, once: the hats run rc169, which has no `release-channel` watch (plan 0044 finding 81), so no channel move can | ||
reach them. They are rolled by hand one time to a green main build that has it (6fea8416 on). This is the last hand | ||
reach them. A hand release of a green main build that has it (6fea8416 on): its manifest and version (the next rc), `rc` | ||
moved to it, then the hats and the droplets rolled to it. `rc` must name it first: bidders follow the channel both ways, | ||
and a hat on the new build with `rc` still at rc169 would install rc169 and lose the watch again. This is the last hand | ||
roll; `roll-prod.sh` is not used again. | ||
3. Done: the next green main runs promote, which writes the rc, moves `rc`, deploys the droplets, and every rc operator's | ||
bidder updates itself (heartbeat names the rc). The prod gate passes, and `stable` moves to the new version. No hand step. | ||
3. CI roll 1: the next green main runs promote: it writes the rc, moves `rc`, deploys the droplets, every rc operator's | ||
bidder updates itself (heartbeat names the rc), the prod gate passes and `stable` moves to the target version. | ||
4. CI roll 2: a small code change (a CLI help text wording), so promote's paths filter releases it: a second release (next | ||
target, rc0) to stable, with this section recording roll 1. Done. | ||
| ||
## Open questions | ||