Step 24 of 35 · Delivery
Owning releases
Shipping is part of the work. Make releases small, frequent, reversible and dull.
A feature is not done when it merges. It is done when it runs in production and you know it works. If releasing is rare and frightening on your team, that is a technical problem you own.
Push for small releases, often. Separate deploying code from turning a feature on, so unfinished work can ship switched off. Roll out to a few users first and watch. Know how to roll back, and practise it. Automate the steps people get wrong at the end of a long day.
Track how often you deploy and how often a deploy fails, and discuss the trend as a team. The common failure is one big release at the end, where the changes meet for the first time in front of users.
Try this week
- Time your last release from merge to production and list every manual step.
- Practise a rollback in a safe environment and write down what was unclear.
Signs you've got it
- The team deploys on an ordinary weekday afternoon without ceremony.
- A bad release is rolled back in minutes by whoever notices.
Resources
- guideDORA's software delivery performance metrics (opens in a new tab)DORA
- articleFeature Toggles (aka Feature Flags) (opens in a new tab)Pete Hodgson
- bookRelease Engineering (Site Reliability Engineering) (opens in a new tab)Dinah McNutt
- bookCanarying Releases (The Site Reliability Workbook) (opens in a new tab)Alec Warner and Štěpán Davidovič
- guideWhat is Continuous Delivery? (opens in a new tab)Jez Humble