-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy little and often #462
Open
ThomasWilliamsHO
wants to merge
8
commits into
main
Choose a base branch
from
deploy-little-and-often
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2214b8d
Create deploy-little-and-often.md
ThomasWilliamsHO 1d1eb0e
Update deploy-little-and-often.md
ThomasWilliamsHO 12e77a7
Update deploy-little-and-often.md
ThomasWilliamsHO 9e82fec
Update docs/principles/deploy-little-and-often.md
ThomasWilliamsHO f439bfa
Apply suggestions from code review
ThomasWilliamsHO 44dc541
Update deploy-little-and-often.md
ThomasWilliamsHO 74407f9
Apply suggestions from code review
ThomasWilliamsHO 85ce921
Update deploy-little-and-often.md
ThomasWilliamsHO File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
layout: principle | ||
order: 1 | ||
title: Deploy little and often | ||
date: 2024-09-26 | ||
tags: | ||
- Build, release and deploy | ||
- Ways of working | ||
- Deployment | ||
- CI/CD | ||
- Quality | ||
--- | ||
|
||
Deploying little and often is the practice of regularly deploying small changes, to production if possible, to avoid long intervals between deployments. | ||
|
||
This reduces risk, enables teams to iterate and react faster, while maintaining product quality. | ||
|
||
--- | ||
|
||
## Rationale | ||
|
||
Deploying little and often reduces lead time from change request to release, for both new features and bug fixes. This enables users to see changes faster and provide feedback. | ||
|
||
The cost of fixing potential issues is also smaller due to the fact that the little and often approach allows us to quickly adapt and release or rollback to a stable state. The smaller the change being pushed out the smaller the chance of merge conflicts. | ||
|
||
Smaller, incremental deployments build confidence for stakeholders, creating less pressure around a release. Larger, infrequent releases that fail cause additional delays in new features and bug fixes, impacting the project team and users alike. | ||
|
||
--- | ||
|
||
## Applications and Implications | ||
|
||
- This principle is reliant on good quality tests which validate the release before it gets to production. These tests reinforce the confidence in our builds so that we can deploy often. Adding automated test coverage for example can greatly improve a team's likelihood of achieving this principle. | ||
- We have CI/CD pipelines that are quick and efficient, automating repetitive tasks so that we can deploy little and often | ||
- We must be aware of how frequent releases affect users, and consider whether it is applicable in each use case. For example, where a breaking change is introduced, or an in-progress operation would be affected | ||
- Deployment strategies should be considered where appropriate. For example, feature flags can be used to allow deployments to occur without releasing new functionality to all users at once. See [Selecting a deployment strategy](/patterns/selecting-a-deployment-strategy/) for more detail | ||
|
||
--- |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.