-
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 3 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,38 @@ | ||
--- | ||
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 when we have a "completed" change and deploying that through | ||
our pipeline stages all the way to production often, no matter the size of the change. This reduces risk, enables the team to fix issues faster and iterate faster, while maintaining high product quality. | ||
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
--- | ||
|
||
## Rationale | ||
|
||
Deploying little and often strategy will enable users to see changes faster and then provide feedback. | ||
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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, also | ||
the smaller the change being pushed out the smaller the chance of merge conflicts. | ||
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
With this approach it builds confidence in the product to stakeholders by the means of more successful incremental builds, allowing there to be less pressure around a release. | ||
Big sizeable releases that fail can cause a lot of pain not just for stakeholders but for others such as customers that rely on the system. | ||
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
--- | ||
|
||
## Applications and Implications | ||
|
||
- This principle is reliant on good quality tests which validate the release before it gets to production, therefore tests reinforce the confidence in our builds so that we can deploy often | ||
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- 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 downstream users, fixing forward is good which is what this principle implies but not every aspect of your project may be using this principle and therefore not as flexible | ||
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- As we will be deploying more often there is the option to use feature flags as a way to better safeguard with new features continually coming through to production | ||
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
ThomasWilliamsHO marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
--- |
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.