Overview

A change is proved in development and in staging before it reaches live. Live is kept separate from the environments used to build and review, so testing does not affect people using the service.

How a change moves

  1. A pull request is built, unit tested, and deployed to development so a person can check it.
  2. After peer review, the branch is merged to master. That deploys the change to staging for the product owner to review.
  3. If the product owner approves, staging is promoted to live. If they reject it, the next step depends on the reason.
  4. We do not roll a release back. A fix is a new branch, taken through the same steps.

The detail of branching, review, and approval is in Gitflow and releases. What must be true before a story is releasable is in Definition of done.

What stays separate

Staging and live use separate configuration and separate data. A change moves forward only through the release stages above. Secrets and certificates are not stored in source code.

Secure by design sets out environment separation, secrets, and the delivery controls around them.

Related