Branching Strategies #1315
Replies: 2 comments
-
yesss i love this! we absolutely need a best practices guide on branching strategies, and this is also a great way to bridge down the road into how these things intersect with CI/CD best practices. perfect guide material! i do think this is a pretty big + important topic though so it's something we should get a couple more proserv and/or solutions architects to weigh in on, or just working AE perspectives generally -- couple ways we could do that:
either way is good! i'll offer some questions and thoughts for the knowledge directly in a follow-up comment shortly. |
Beta Was this translation helpful? Give feedback.
-
Opened up an issue! #1704 |
Beta Was this translation helpful? Give feedback.
-
1. What is the main problem you are solving? What is your solution? This should help form your core thesis.
What is our recommended branching strategy for customers who are using a multi-branch approach? (Example: Dev -> UAT -> Prod -> Master)
2. Why should the reader care about this problem? Why is your solution the right one? This should help form your specific target audience.
Introducing more branches adds lots of complexity! It can be challenging to understand the pros and cons and decide what strategy is best for your team.
3. Can you list the steps of your solution for the reader here? This should help you form the overall narrative arc and sketch out an example use case to illustrate it.
First, it's important to consider what you are trying to accomplish by having multiple-branches, and why a simple workflow (Example: just one Main branch) doesn't solve it.
If your business requires you have a separate
Dev
,UAT
,Prod
, andMaster
branch, you should follow this approach:dev
when creating your Feature Branchesdev
once they get the stamp of approvaldev
gets merged intoUAT
,UAT
toprod
, and finallyprod
tomaster
UAT
branch is ready to be merged intoProd
More thoughts here.
4. Are there any resources that helped inspire or inform your idea? (eg slack discussions, articles, external product docs, etc. -- if so please link)
Adopting CI/CD with dbt Cloud
Beta Was this translation helpful? Give feedback.
All reactions