SlideShare a Scribd company logo
1 of 47
Download to read offline
1
1
SENSIBLE DEFAULTS FOR CI/CD IN 2019
Charles Korn
Ready to
make your
mark?
/careers
Sensible defaults for CI/CD in 2019
Charles Korn
👋
4
Some assumptions
5
6
Mean time 

to recovery
Deployment
frequency
Lead time 

to change
Change 

failure rate
7
Time
Seconds Minutes Hours Days Weeks
Dev working locally
Pipeline
Production
compilation unit tests
linting integration tests
business metrics
customer feedbackincidents
technical metricsperformance tests
security scanning
8
Image credit: mindgamesbrisbane.com
Sensible default?
9
Culture
Pipeline
10
Testing
Tooling
Development Deployment
Culture
Pipeline
11
Testing
Tooling
Development Deployment
12
Sensible default #2:
Trunk-based
development
🌴
13
Sensible default #3:
Pairing
🍐
Culture
Pipeline
14
Testing
Tooling
Development Deployment
15
Com
pile
Lint
U
nittest
Contracttest
Integration
test
Static
analysis
Journey
test
CFR
tests
D
eploy
to
pre-prod
Sm
oke
testD
eploy
to
prod
Sm
oke
test
D
ependency
license
check
D
ependency

vulnerability

check
D
ependency

update

check
Image credit: https://martinfowler.com/bliki/TestPyramid.html
Com
m
it
16
Sensible default #4:
The pipeline is the

only way
$
17
Sensible default #5:
Decoupled pipelines
⛓
18
Sensible default #6:
Build once, 

use everywhere
☝
19
Sensible default #7:
Two (or three)
environments
🏭
Culture
Pipeline
20
Testing
Tooling
Development Deployment
21
Sensible default #8:
Deployment ≠ release
🎉
22
Sensible default #9:
Automated 

deployments
🤖
23
Sensible default #1:
Continuous

Deployment
✨
24
Sensible default #10:
Zero-downtime
deployments
⏱
25
Sensible default #11:
Gradual

deployments
🦜
26
Sensible default #12:
Verified

deployments
🦜
💨
27
Sensible default #13:
Roll forward
➡
Culture
Pipeline
28
Testing
Tooling
Development Deployment
29
Sensible default #14:
Always be testing
🔬
30
Sensible default #15:
CFRs in pipeline
🔨
31
Sensible default #16:
Automated, repeatable,
isolated tests
⚙
Culture
Pipeline
32
Testing
Tooling
Development Deployment
33
Sensible default #17:
The pipeline is not
special
🎲
34
Sensible default #18:
Automated 

compliance
📋
35
Sensible default #19:
Pipeline is code
📜
36
Sensible default #20:
Config is code
📚
37
Sensible default #21:
Logging, monitoring

and alerting owned by
dev team
🚨
38
Sensible default #22:
Synthetic monitoring
🧐
Culture
Pipeline
39
Testing
Tooling
Development Deployment
40
Sensible default #23:
You build it, you run it

(it breaks, you wake)
🛌
Culture
Pipeline
41
Testing
Tooling
Development Deployment
How can I make this happen?
42
Establish Continuous Deployment as goal

and work backwards
43
44
Sensible default #24:
Paved roads and 

building blocks
🛣
Recap
45
46
Logging,
monitoring and
alerting owned
by dev team
Zero-downtime
deployments
Two (or three)
environments
Continuous
Deployment
Decoupled
pipelines
Build once, 

use everywhere
The pipeline is
not special
Synthetic
monitoring
Always be testing
Automated,
repeatable,
isolated tests
Pairing
The pipeline is
the only way
Roll forward
Gradual
deployments
Config is code
You build it, 

you run it
Automated
deployments
Paved roads and
building blocks
Trunk-based
development
CFRs in pipeline
Deployment 

≠ release
Pipeline is code
Automated
compliance
Verified
deployments
47

More Related Content

What's hot

LinkedIn_DBS Case Study_Nov2015
LinkedIn_DBS Case Study_Nov2015LinkedIn_DBS Case Study_Nov2015
LinkedIn_DBS Case Study_Nov2015
Wilson Chen
 
Analysis of marketing strategy of mineral water industry
Analysis of marketing strategy of mineral water industryAnalysis of marketing strategy of mineral water industry
Analysis of marketing strategy of mineral water industry
Sonal Agarwal
 
Top Trends in Retail Banking: 2020
Top Trends in Retail Banking: 2020Top Trends in Retail Banking: 2020
Top Trends in Retail Banking: 2020
Capgemini
 

What's hot (20)

Mineral water- Four P's of Marketing; Product, Price, Place, Promotion
Mineral water- Four P's of Marketing; Product, Price, Place, PromotionMineral water- Four P's of Marketing; Product, Price, Place, Promotion
Mineral water- Four P's of Marketing; Product, Price, Place, Promotion
 
How Tala works in credit score
How Tala works in credit scoreHow Tala works in credit score
How Tala works in credit score
 
Creating LinkedIn Sponsored Content That Earns Engagement
Creating LinkedIn Sponsored Content That Earns Engagement Creating LinkedIn Sponsored Content That Earns Engagement
Creating LinkedIn Sponsored Content That Earns Engagement
 
The age of experience: A report by 451 Research and Adyen
The age of experience: A report by 451 Research and AdyenThe age of experience: A report by 451 Research and Adyen
The age of experience: A report by 451 Research and Adyen
 
LinkedIn_DBS Case Study_Nov2015
LinkedIn_DBS Case Study_Nov2015LinkedIn_DBS Case Study_Nov2015
LinkedIn_DBS Case Study_Nov2015
 
FinTech for Financial Inclusion
FinTech for Financial InclusionFinTech for Financial Inclusion
FinTech for Financial Inclusion
 
Digital transformation in Sales Management
Digital transformation in Sales ManagementDigital transformation in Sales Management
Digital transformation in Sales Management
 
BNPL models
BNPL modelsBNPL models
BNPL models
 
Flipkart, amazon, snapdeal SWOT analysis
Flipkart, amazon, snapdeal SWOT analysisFlipkart, amazon, snapdeal SWOT analysis
Flipkart, amazon, snapdeal SWOT analysis
 
FinTech Overview
FinTech OverviewFinTech Overview
FinTech Overview
 
FT Partners Research: PayPal Spin-off Overview
FT Partners Research: PayPal Spin-off OverviewFT Partners Research: PayPal Spin-off Overview
FT Partners Research: PayPal Spin-off Overview
 
Tinder
TinderTinder
Tinder
 
All You Want to Know About Neo Bank
All You Want to Know About Neo BankAll You Want to Know About Neo Bank
All You Want to Know About Neo Bank
 
eSewa | Growth and Services
eSewa | Growth and ServiceseSewa | Growth and Services
eSewa | Growth and Services
 
The Rise of SaaS in India 2023
The Rise of SaaS in India 2023The Rise of SaaS in India 2023
The Rise of SaaS in India 2023
 
Demand Sensing: Finding The Right Balance
Demand Sensing: Finding The Right BalanceDemand Sensing: Finding The Right Balance
Demand Sensing: Finding The Right Balance
 
Payment gateway
Payment gatewayPayment gateway
Payment gateway
 
Analysis of marketing strategy of mineral water industry
Analysis of marketing strategy of mineral water industryAnalysis of marketing strategy of mineral water industry
Analysis of marketing strategy of mineral water industry
 
Metaverse, Digital Marketing and the Future of the Web
Metaverse, Digital Marketing and the Future of the WebMetaverse, Digital Marketing and the Future of the Web
Metaverse, Digital Marketing and the Future of the Web
 
Top Trends in Retail Banking: 2020
Top Trends in Retail Banking: 2020Top Trends in Retail Banking: 2020
Top Trends in Retail Banking: 2020
 

Similar to Sensible defaults for CI and CD in 2019

Sandia blade reliability conf
Sandia blade reliability confSandia blade reliability conf
Sandia blade reliability conf
Vince Foody
 

Similar to Sensible defaults for CI and CD in 2019 (20)

5 Ways to Accelerate Standards Compliance with Static Code Analysis
5 Ways to Accelerate Standards Compliance with Static Code Analysis 5 Ways to Accelerate Standards Compliance with Static Code Analysis
5 Ways to Accelerate Standards Compliance with Static Code Analysis
 
Continuous Delivery with Jenkins: the Good, the Bad and the Ugly - JAX DevOps...
Continuous Delivery with Jenkins: the Good, the Bad and the Ugly - JAX DevOps...Continuous Delivery with Jenkins: the Good, the Bad and the Ugly - JAX DevOps...
Continuous Delivery with Jenkins: the Good, the Bad and the Ugly - JAX DevOps...
 
Finding the important bugs- A talk by John Scarborough, Director of Testing, ...
Finding the important bugs- A talk by John Scarborough, Director of Testing, ...Finding the important bugs- A talk by John Scarborough, Director of Testing, ...
Finding the important bugs- A talk by John Scarborough, Director of Testing, ...
 
CI/CD for React Native
CI/CD for React NativeCI/CD for React Native
CI/CD for React Native
 
Intsoc2
Intsoc2Intsoc2
Intsoc2
 
Building products - A Nifty Approach
Building products - A Nifty ApproachBuilding products - A Nifty Approach
Building products - A Nifty Approach
 
Do Design Quality and Code Quality Matter in Merger and Acquisition Tech Due ...
Do Design Quality and Code Quality Matter in Merger and Acquisition Tech Due ...Do Design Quality and Code Quality Matter in Merger and Acquisition Tech Due ...
Do Design Quality and Code Quality Matter in Merger and Acquisition Tech Due ...
 
DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016
DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016
DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016
 
Why You Need to Stop Using "The" Staging Server
Why You Need to Stop Using "The" Staging ServerWhy You Need to Stop Using "The" Staging Server
Why You Need to Stop Using "The" Staging Server
 
Integrating Black Duck into your Agile DevOps Environment
Integrating Black Duck into your Agile DevOps EnvironmentIntegrating Black Duck into your Agile DevOps Environment
Integrating Black Duck into your Agile DevOps Environment
 
Kim Carter (BinaryMist)
Kim Carter (BinaryMist)Kim Carter (BinaryMist)
Kim Carter (BinaryMist)
 
Delivery Pipelines as a First Class Citizen @deliverAgile2019
Delivery Pipelines as a First Class Citizen @deliverAgile2019Delivery Pipelines as a First Class Citizen @deliverAgile2019
Delivery Pipelines as a First Class Citizen @deliverAgile2019
 
End-to-End Quality Approach: 14 Levels of Testing
End-to-End Quality Approach: 14 Levels of TestingEnd-to-End Quality Approach: 14 Levels of Testing
End-to-End Quality Approach: 14 Levels of Testing
 
MOPCON 2015 - Tips of Mobile Continuous Delivery
MOPCON 2015 - Tips of Mobile Continuous DeliveryMOPCON 2015 - Tips of Mobile Continuous Delivery
MOPCON 2015 - Tips of Mobile Continuous Delivery
 
Components of CI/CD in DevOps
Components of CI/CD in DevOpsComponents of CI/CD in DevOps
Components of CI/CD in DevOps
 
Sandia blade reliability conf
Sandia blade reliability confSandia blade reliability conf
Sandia blade reliability conf
 
The DevOps Promise: Helping Management Realise the Quality, Velocity & Effici...
The DevOps Promise: Helping Management Realise the Quality, Velocity & Effici...The DevOps Promise: Helping Management Realise the Quality, Velocity & Effici...
The DevOps Promise: Helping Management Realise the Quality, Velocity & Effici...
 
CI/CD Pipeline mit Gitlab CI und Kubernetes
CI/CD Pipeline mit Gitlab CI und KubernetesCI/CD Pipeline mit Gitlab CI und Kubernetes
CI/CD Pipeline mit Gitlab CI und Kubernetes
 
Using Apache Spark for Predicting Degrading and Failing Parts in Aviation
Using Apache Spark for Predicting Degrading and Failing Parts in AviationUsing Apache Spark for Predicting Degrading and Failing Parts in Aviation
Using Apache Spark for Predicting Degrading and Failing Parts in Aviation
 
Replace Outdated DevOps Tools with Innovative & Modern Pipelines
 Replace Outdated DevOps Tools with Innovative & Modern Pipelines Replace Outdated DevOps Tools with Innovative & Modern Pipelines
Replace Outdated DevOps Tools with Innovative & Modern Pipelines
 

More from Thoughtworks

More from Thoughtworks (20)

Design System as a Product
Design System as a ProductDesign System as a Product
Design System as a Product
 
Designers, Developers & Dogs
Designers, Developers & DogsDesigners, Developers & Dogs
Designers, Developers & Dogs
 
Cloud-first for fast innovation
Cloud-first for fast innovationCloud-first for fast innovation
Cloud-first for fast innovation
 
More impact with flexible teams
More impact with flexible teamsMore impact with flexible teams
More impact with flexible teams
 
Culture of Innovation
Culture of InnovationCulture of Innovation
Culture of Innovation
 
Dual-Track Agile
Dual-Track AgileDual-Track Agile
Dual-Track Agile
 
Developer Experience
Developer ExperienceDeveloper Experience
Developer Experience
 
When we design together
When we design togetherWhen we design together
When we design together
 
Hardware is hard(er)
Hardware is hard(er)Hardware is hard(er)
Hardware is hard(er)
 
Customer-centric innovation enabled by cloud
 Customer-centric innovation enabled by cloud Customer-centric innovation enabled by cloud
Customer-centric innovation enabled by cloud
 
Amazon's Culture of Innovation
Amazon's Culture of InnovationAmazon's Culture of Innovation
Amazon's Culture of Innovation
 
When in doubt, go live
When in doubt, go liveWhen in doubt, go live
When in doubt, go live
 
Don't cross the Rubicon
Don't cross the RubiconDon't cross the Rubicon
Don't cross the Rubicon
 
Error handling
Error handlingError handling
Error handling
 
Your test coverage is a lie!
Your test coverage is a lie!Your test coverage is a lie!
Your test coverage is a lie!
 
Docker container security
Docker container securityDocker container security
Docker container security
 
Redefining the unit
Redefining the unitRedefining the unit
Redefining the unit
 
Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22
 
A Tribute to Turing
A Tribute to TuringA Tribute to Turing
A Tribute to Turing
 
Rsa maths worked out
Rsa maths worked outRsa maths worked out
Rsa maths worked out
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Sensible defaults for CI and CD in 2019