BRD-005 — Controlled Release Promotion
| Metadata | Details |
|---|---|
| Project Name | astro-static-site Controlled Release Promotion |
| Document ID | BRD-STATIC-005 |
| Author | Product Management & Engineering Leadership |
| Target Date | Ongoing — governs every release of the public website |
| Status | Approved |
1. Executive Summary & Business Goal
The business needs to know that what readers see in production is what was tested, and that it got there because a responsible person decided so. Today a release can be prepared again for each environment, so the production release is not provably the one that was tested. Production changes must instead be a deliberate, recorded decision, taken only after the same release has worked in the test environment.
The website and the infrastructure it runs on change at different rates and carry different risk, so each has its own release life cycle: the site is released on its own schedule and never waits for an infrastructure release. Release work must cost nothing when nothing has changed.
BRD-006 covers why releases are automated and checked at all. This document covers how a prepared release moves between environments. Which tools implement it is documented in the System Requirements, not here.
2. Scope of Work
In-Scope
- Preparing a release for an environment when it is released there, for the website and for the infrastructure.
- Moving a prepared release to the test environment, then to production, together with the images its pages use.
- The decision to move a release, and the record of who took it and when.
- The order between infrastructure and website releases.
- Recovery of infrastructure records after a release.
- Avoiding release work and cost when nothing relevant has changed.
Out-of-Scope
- What the security checks look for (BRD-004).
- How access for the automated work is created and limited (BRD-006, BRD-INFRA-002).
3. High-Level Business Requirements
| ID | Business Need | Priority |
|---|---|---|
| BR-1.1 (Prepared Only When Released) | A change is prepared for an environment only when a person releases it there, once per environment, and never for an environment it is not released to. | P0 |
| BR-1.2 (Tested Release Reaches Production) | What reaches production is the release that was tested, from the same change, differing from the test release only in the settings that identify each environment. | P0 |
| BR-1.3 (Tested Images Reach Production) | Production shows the same images the tested pages showed, and only the images its pages use. Images reach production only as part of a release, never by a person’s hand. | P0 |
| BR-2.1 (Test First) | A release can reach production only after the same release reached the test environment successfully. | P0 |
| BR-2.2 (Deliberate, Recorded Decision) | Nothing reaches the test environment or production without a person deliberately deciding it, and every decision records who took it, which release and when. | P0 |
| BR-3.1 (Independent Releases) | Infrastructure and website changes are released independently, so a change to one never forces a release of the other. | P1 |
| BR-3.2 (Independent Life Cycles) | A site release is never held back by an infrastructure release, and an infrastructure release is never held back by a site release. When a site change needs new infrastructure, the person releasing it releases the infrastructure first. | P0 |
| BR-4.1 (Recoverable Records) | The records that describe the infrastructure are kept recoverable after every change, without anyone having to remember to do it. | P0 |
| BR-4.2 (No Idle Cost) | No release work runs, and no cost arises, unless a relevant change was made or a person asked for it. | P1 |