![Page 1: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/1.jpg)
@tdpauw thinkinglabs.io@tdpauw thinkinglabs.io
Continuous Delivery in 4 months for 15 teams and their 1 monolith
Thierry de Pauw | Continuous Delivery advocate
![Page 2: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/2.jpg)
@tdpauw thinkinglabs.io
A Belgian federal agency
15 teams (~ 150 people) and 1 monolith
![Page 3: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/3.jpg)
@tdpauw thinkinglabs.io
3-4 planned major releases per year
2017: 3 major releases2018: 2 major releases
deployment lead team of 28 days334 person-days to achieve those 28 days
![Page 4: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/4.jpg)
@tdpauw thinkinglabs.io
September 5th 2018:
Can you help us achieve Continuous Delivery with fortnightly release cyclesby end of December 2018?
![Page 5: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/5.jpg)
@tdpauw thinkinglabs.io
“In preparing for battle I have always found that plans are useless, but planning is indispensable.”-- Dwight Eisenhower, 1957
![Page 6: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/6.jpg)
@tdpauw thinkinglabs.io
What not to do? Maturity Models
They are fundamentally flawed.
![Page 7: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/7.jpg)
@tdpauw thinkinglabs.io
● Improvement Kata
● Value Stream Mapping
● Measuring Continuous Delivery
● Theory of Constraints
![Page 8: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/8.jpg)
@tdpauw thinkinglabs.io
Establish a core teamrepresenting all roles to lead the Continuous Delivery adoption.
![Page 9: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/9.jpg)
@tdpauw thinkinglabs.io
Investing in Continuous Delivery is very valuable.But it isn’t easy nor cheap !
![Page 13: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/13.jpg)
@tdpauw thinkinglabs.io
Major release ~ 6 months lead time
5 months: accumulation of features 3 weeks: code freeze 1 week:productiondeployment
Champagne 🍾🎉
🥂
334 person-days
![Page 15: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/15.jpg)
@tdpauw thinkinglabs.io
Theory of Constraints
Every system has a bottleneck. Spending time optimising anything other than the bottleneck is an illusion.
![Page 16: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/16.jpg)
@tdpauw thinkinglabs.io
Where is the bottleneck?
activity lead time
activity failure rate
not here
![Page 17: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/17.jpg)
@tdpauw thinkinglabs.io
Where is the bottleneck?
activity lead time
activity failure rate
VCS Branches
but here !!!
![Page 18: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/18.jpg)
@tdpauw thinkinglabs.io
First experiment: the deployment pipeline and its metrics
![Page 21: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/21.jpg)
@tdpauw thinkinglabs.io
The Agency's Improvement Kata
Establish a Deployment Pipeline ✔ Daily evaluation of failing tests Dedicated environment for automated acceptance tests Recreate database before running acceptance tests Stub 3rd party services Auto collect lead time and failure rate metrics from the pipeline
![Page 22: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/22.jpg)
@tdpauw thinkinglabs.io
“... but plans are worthless when the fighting is once begun, and all depends on the inspiration of the moment.”-- a war correspondent for the British newspaper “The Daily News”, 1877
![Page 25: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/25.jpg)
@tdpauw thinkinglabs.io
Meanwhile …18/10: LT of 8h, 21/3529 failing tests29/10: LT of 4h, 545/5390 failing tests05/11: no pipeline run for 5 days due to a Jenkins upgrade23/11: first green pipeline, all tests are passing 🎉
After which the pipeline went red for another 2 weeks 😒
![Page 27: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/27.jpg)
@tdpauw thinkinglabs.io
Introduce a manual overrule step
“Sunlight is said to be the best disinfectants.”-- Louis Brandeis
![Page 30: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/30.jpg)
@tdpauw thinkinglabs.io
“They did not know it was impossible, so they did it.”-- Mark Twain
![Page 31: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/31.jpg)
@tdpauw thinkinglabs.io
WTF am I doing here?And yet, it happens. Not as you expected.
![Page 32: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/32.jpg)
@tdpauw thinkinglabs.io@tdpauw thinkinglabs.io
Hello, I am Thierry de Pauw
is shy, introvert and opinionatedis chief imposter
likes dark chocolatedark means > 50% cacao, prefers 70% and more
Acknowledgments:
Els, my beloved one, for supporting me in all my crazy endeavours, always believing in me.
Steve Smith for reviewing this presentation, his endless kindness and being my CD mentor.
Jeffrey Fredrick and Douglas Squirrel for including this case as a fear conversations example in their upcoming book “Agile Conversations” which will be available from May 12th - https://www.conversationaltransformation.com/
Engineer Lead at the fintech startup PaxFamilia
Founder of ThinkingLabs, advising on CI and CD
![Page 33: 2020 ScanAgile - Continuous Delivery in 4 months for 15 ... · Establish a Deployment Pipeline Daily evaluation of failing tests Dedicated environment for automated acceptance tests](https://reader034.vdocuments.us/reader034/viewer/2022050310/5f729fb9ab3ff2103b1171fa/html5/thumbnails/33.jpg)
@tdpauw thinkinglabs.io
Bibliography
Lean Enterprise (ch 6 Deploy Continuous Improvement), Jez Humble, Joanne Molesky, Barry O'Reilly Accelerate - Extra chapter: How to transform, Jez HumbleThe Improvement Kata, Mike RotherMeasuring Continuous Delivery, Steve SmithThe Goal, Eliyahu GoldrattA Practical Approach to Large-Scale Agile Development: How HP Transformed LaserJet FutureSmart Firmware, Gary Gruver, Mike Young, Pat FulghumDual Value Streams, Steve SmithGot a wicked problem? First, tell me how you make toast, Tom Wujec, TEDGlobal 2013