CI/CD

Design a dependable CI/CD pipeline

Use repeatable stages and clear controls to make releases easier to inspect.

Build once

Create a versioned artifact from a specific commit and promote the same artifact through environments. Keep build inputs and dependency versions recorded.

Test before release

Run relevant unit and integration checks before deployment. Use protected credentials and keep secrets out of logs and artifacts.

Make recovery routine

Define release approval, smoke tests, and a tested rollback procedure. Track deployment versions so an incident can be related to a specific change.