Version Control for Continuous Delivery Roots 2011 Stein Inge Morisbak
Nov 28, 2014
Version Control for Continuous Delivery
Roots 2011
Stein Inge Morisbak
Our highest priority is to satisfy the customer
through early and continuous deliveryof valuable software.
How long would it take your organization to deploy a change that involves just one single line of code?
Do you do this on a repeatable reliable basis?
- Mary and Tom Poppendieck
Work in Progress (WiP)
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
Time
Develop
We have to separate WiP from production ready code
MasterInitial production version
Next production release
Next production release
F1 F2 F3
Release plan 1
F4 F5 F6
Release plan 2
F7 F8 F9
Release plan 3
F9Oh no!
Bug!
Fix Merge
Extra production release
F3
F2
Develop
We have to detach features from the release plans
MasterInitial production version
Next production release
Big bug!!
Time
F1Feature branches
F4
F5
F6
F7
F8
F9
F10
Next production release
Fix
F6
F7
F8
F9
F10
F4
F5
F3
F2
Develop
We have to detach hot-fixes from production and develop
MasterInitial production version
Next production release
Next production release
Big bug!! !
F1
!2
Big bug-fix
!1
Hot-fix branches
Extra production release
Extra production release
Extra production release
Feature branches
Develop
Code freezes, testing, preparation … - Release branches
F6
F7
F8
F9
F10
F4
F5
F3
F2
MasterInitial production version
F1
Next production release
Release 2
Next production release
Release 3
Next production release
Release 1 Release branches
!
Fix!
Hot-fix branches
Feature branches
Summary
Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.
WiP must be separated from code in production.
Hot-fixes must happen on code in production
Release branches prevent freezes and delays.
For more on version control, come to:
“Delivering Continuously” on Wednesday.
– Git cheat sheets.
– Feature branching vs. Continuous Integration.
– Avoiding BIG SCARY MERGES!
– Feature toggles.
– and a lot more …
BEKK CONSULTING ASSKUR 39, VIPPETANGEN. P.O. BOX 134 SENTRUM, 0102 OSLO, NORWAY.
WWW.BEKK.NO
Stein Inge MorisbakManager
+47 909 64 [email protected]
@steinim
http://open.bekk.no