CI/CD
Who this is for
Section titled “Who this is for”DevOps and engineering.
When to use it
Section titled “When to use it”When you change the pipeline or rely on it to ship.
- Must: Pull requests run the project’s automated checks (lint, test, build) before merge. See Repos, branches, and pull requests.
- Must: Production deploys go through the pipeline. A laptop deploy is only a documented break-glass path, then you record what you did.
- Must: Pipeline secrets live in the CI secret store, not in the workflow file or the repo. See Secrets.
- Should: The main branch is always deployable. Do not leave the pipeline red overnight without an owner.
- Should: Deploy a named artifact or commit. Do not rebuild by hand on the server.
- Team decides: CI product, branch protection details, and whether deploy is automatic on main or a manual go in the pipeline. AWS deploy mechanics are on AWS.
What good looks like
Section titled “What good looks like”Merge is gated by checks, and ship is a pipeline run you can point at — not a script on someone’s machine.
What to do
Section titled “What to do”- Confirm checks run on your PR before you ask for review.
- If you change the pipeline, test it on a non-prod deploy first.
- Ship prod through the same path the runbook names.
- If the pipeline is red, fix it or revert. Do not skip checks to “just ship.”