SlideShare a Scribd company logo
Continuous Deployment




Martin Shwalbe
How Long does it take to Deploy?




          More than a Year?
Six months to a Year? One to six months?

  Two Weeks to a Month?
                  One day to two Weeks?
One hour to one day? One day to two Weeks?
        Less than 10 Minutes?
How Long does it take to Deploy?
Continuous Deployment is a repeatable methodology to deploying code
Continuous Deployment is Automation
Deployment Reduces Code Inventory
Deployment improves Confidence
Continuous Deployment is Safety
Fast Turnaround leads to Happy Customers
… and happy developers
Traditional Release Cycle




                              Timeline
                             1-4 Weeks

Development   Release Cut Stage        QA       Fix Bugs   Integrate   Release!
                                                            Patches
Continuous Deployment
                                   Release Cycle




                                Timeline
                              5-10 Minutes
                                  Automated QA
Development       x       x
              Release Cut Stage
                                                 x
                                   Testing and Fix Bugs
                                     Staging               x
                                                          Integrate
                                                           Patches
                                                                       Deploy
                                                                      Release!
Tools




Jenkins




                  Statistic Analysers
Continuous deployment
Continuous deployment
Database Evolution in
Continuous Deployment




                        Updating Database is
                        
Database Evolution
Database Evolution Categorize
Database Evolution: Addition




Addtions do not cause any problems.
Destructive Database Evolution



Destructive changes need a bit more care,


  the degree of which depends on the
     degree of destruction involved
Continuous deployment
Continuous deployment
Destructive Database Evolution




Unhappy Customer!
Database Evolution




 Which comes first?
Code or the Database?
Destructive Database Evolution




Apply Changes without breaking backwards compatibility
Destructive Database Evolution



The application can still read and write to the old columns
Destructive Database Evolution



Update the application.




//Keep this Request
Select Address Data
from Table User


//Additional Request
Select Address Data
from Table Address
Destructive Database Evolution



The application would read and write to both tables.
Destructive Database Evolution



                Cleanup the Application.




SQL Script to copy old data
     from User table                          Select Address Data
     to Address table                         from Table Address
Destructive Database Evolution



Delete the obsolete Columns
Thank you!

More Related Content

PDF
Devops culture in customer systems
ODP
Agileee 2012
PPTX
Intro to DevOps
PDF
How to organize qa process in agile speed
PPTX
XP (IT Brunch)
PDF
Manual testing notes
PDF
Agile QA 2.0
Devops culture in customer systems
Agileee 2012
Intro to DevOps
How to organize qa process in agile speed
XP (IT Brunch)
Manual testing notes
Agile QA 2.0

What's hot (20)

PPT
Continuously Delivering: Compress the time from committed to consumed
PDF
Continuous Testing for CTOs (Webinar Slides)
PDF
Navyug Process Flow QA
PDF
A Concise QA Process
PDF
Agile QA Process
PDF
7 QA Tests You Should Be Running
PPTX
Agile QA process
PPSX
Continuous Integration - Oracle Database Objects
PDF
Agile QA Automation process
PPTX
Testing Best Practices
PPTX
qTest 7.4: New Features
PDF
Continuous Integration Approach
PDF
Continuous Deployment Pipeline for Systems at Cascadia IT Conference - 2017-0...
PDF
Using Crowdsourced Testing to Turbocharge your Development Team
PPTX
Development and test infrastructure
PPTX
TDD in Agile
PDF
Getting to Continuous Deployment (Webinar Slides)
PDF
Case Coriant Tellabs - Agile Testing Implementation 22.5.2014
PDF
QA Strategies for Testing Legacy Web Apps
PPTX
QA Best Practices in Agile World_new
Continuously Delivering: Compress the time from committed to consumed
Continuous Testing for CTOs (Webinar Slides)
Navyug Process Flow QA
A Concise QA Process
Agile QA Process
7 QA Tests You Should Be Running
Agile QA process
Continuous Integration - Oracle Database Objects
Agile QA Automation process
Testing Best Practices
qTest 7.4: New Features
Continuous Integration Approach
Continuous Deployment Pipeline for Systems at Cascadia IT Conference - 2017-0...
Using Crowdsourced Testing to Turbocharge your Development Team
Development and test infrastructure
TDD in Agile
Getting to Continuous Deployment (Webinar Slides)
Case Coriant Tellabs - Agile Testing Implementation 22.5.2014
QA Strategies for Testing Legacy Web Apps
QA Best Practices in Agile World_new
Ad

Viewers also liked (20)

PDF
Magnum Networking Update
PDF
Conflict styles
PPT
Colca valley arequipa peru
PDF
Trusted Advisors in Retained Executive Search
PPTX
Conference Call Application & Selection
PDF
Analytics & Reporting for Amazon Cloud Logs
PDF
DPACC Acceleration Progress and Demonstration
PPT
IBM Cloud Journey v10
PDF
Xen versus kvm_20080623
PDF
INCAR SERVICE SRL
PDF
Debunking Myths & Mysteries of Retained Search
PDF
Magnum first-class-resource
PPTX
What's Next in OpenStack? A Glimpse At The Roadmap
PDF
Redmine Applied for Large Scale
PDF
Xen versus kvm_slides_20080623
PPT
New Am Resorts Corp Presentation 4 18 12
DOC
Microsoft Windows Azure - Adslot Media & Entertainment Saves Costs Case Study
PPTX
From OpenStack to Docker swarm
PPTX
Sap MM
ODP
Openvz booth
Magnum Networking Update
Conflict styles
Colca valley arequipa peru
Trusted Advisors in Retained Executive Search
Conference Call Application & Selection
Analytics & Reporting for Amazon Cloud Logs
DPACC Acceleration Progress and Demonstration
IBM Cloud Journey v10
Xen versus kvm_20080623
INCAR SERVICE SRL
Debunking Myths & Mysteries of Retained Search
Magnum first-class-resource
What's Next in OpenStack? A Glimpse At The Roadmap
Redmine Applied for Large Scale
Xen versus kvm_slides_20080623
New Am Resorts Corp Presentation 4 18 12
Microsoft Windows Azure - Adslot Media & Entertainment Saves Costs Case Study
From OpenStack to Docker swarm
Sap MM
Openvz booth
Ad

Similar to Continuous deployment (20)

PDF
Continuous delivery @åf consult
PPTX
Beyond Scrum: Scaling Agile with Continuous Delivery and Subversion
PPTX
Quality on Autopilot: Scaling Testing in Uyuni
PDF
Principles and Practices in Continuous Deployment at Etsy
PPTX
Linuxtag 2012 - continuous delivery - dream to reality
PPTX
Continuous Delivery in the Enterprise
PDF
Continuous Delivery Overview
PDF
Continuous Deployment at Etsy — TimesOpen NYC
PDF
Continuous delivery @ hi q
PPTX
Webinar - Devops platform for the evolving enterprise
PPSX
PDF
Atlassian Summit 2011 Day 2 Keynote
PPTX
Manual testing1
PPTX
Dev ops != Dev+Ops
PPTX
Continuous Integration & the Release Maturity Model
PPTX
Releasing fast code - The DevOps approach
PPTX
Functional Continuous Integration with Selenium and Hudson
PDF
The Continuous delivery Value @ codemotion 2014
PDF
The Continuous delivery value - Funaro
PPTX
Continuous Delivery in the real world - techniques to reduce the developers b...
Continuous delivery @åf consult
Beyond Scrum: Scaling Agile with Continuous Delivery and Subversion
Quality on Autopilot: Scaling Testing in Uyuni
Principles and Practices in Continuous Deployment at Etsy
Linuxtag 2012 - continuous delivery - dream to reality
Continuous Delivery in the Enterprise
Continuous Delivery Overview
Continuous Deployment at Etsy — TimesOpen NYC
Continuous delivery @ hi q
Webinar - Devops platform for the evolving enterprise
Atlassian Summit 2011 Day 2 Keynote
Manual testing1
Dev ops != Dev+Ops
Continuous Integration & the Release Maturity Model
Releasing fast code - The DevOps approach
Functional Continuous Integration with Selenium and Hudson
The Continuous delivery Value @ codemotion 2014
The Continuous delivery value - Funaro
Continuous Delivery in the real world - techniques to reduce the developers b...

Continuous deployment