SlideShare uma empresa Scribd logo
1 de 42
Baixar para ler offline
LiveAccounts:
Continuous Delivery in the Real World

Nish Mahanty
Lawrence Song
“Rapidly deliver value to our customers”

                                  CTO
Good news journey

Quadrupled our feature throughput
Shortened our delivery times by 87%
Improved team satisfaction

Metrics
Team empowerment
Tools
Just the facts Ma’am
Legacy code
Manual Build
Unpredictability
Distributed team
Real bug?
Late night deployments
Delivery Value Stream



Develop
            3         Smoke        3         Smoke        1            Smoke
                    Functional             Regression


                        1                       3                      0.3
Dev                     QA                 Staging                 Prod
     Compile                 Assemble Package       Assemble Package
     Assemble Package        Restore DB             Apply DB Changes
     Restore DB              Apply DB Changes       Deploy Package
     Apply DB Changes        Deploy Package
     Deploy Package
Dude, where’s my new feature?
What we believe in

(and what we don’t)
Code quality




       Before   Current
Automated functional tests


                                                       173
                                                 160
                                           146
    # of Scenarios                   132
                               110

                          79
                     56

           21
     0

     S      O        N    D     J     F    M     A     M
Unit test coverage – new code

                                        93   94   94

                        80         83

       65   65   65
  60




  S    O    N    D      J          F    M    A    M

                      % Coverage
Code branches

        5


                2
                       1

       Before   Now   Next
Deployment Duration




                130
                                  98



      S    O    N     D   J   F    M
Cycle Time (Features and Defects)




30

                                            9.8
      S    O     N    D    J        F   M
Duration
  11


                      87%
                      faster release

  1
           Delivery
How we did it
One team


Develop
          3     Smoke      3     Smoke      1   Smoke
              Functional       Regression


                 1                 3            0.3
Dev             QA             Staging          Prod
Build a common vision
Common KPIs
  Build Trust
Improve Comms
Empower the team to change things
Approach

• Close collaboration
• Incremental
• Data driven
• Automation
• Consensus base
Development Environment



 Develop
              3          Smoke      3     Smoke      1       Smoke
                       Functional       Regression


                          1                 3                 0.3
  Dev                    QA             Staging             Prod
3 days to set up environment               30 min to set up
Shared database                            Database change management
Shared environment                         Development sandbox
Manual build                               Automated builds
No continuous integration build
Evolution, not revolution



Manual                 Maven          Buildr



  No CI                Hudson         Go



          Perforce              Git
Code Quality

• Agreed on coding standards as a team
• Unit Test Code Coverage: Minimum Value 80%
• Cyclomatic Complexity <= 7


• Checkstyle
• JsLint
• Fail a build
Deployment



 Develop
              3          Smoke      3     Smoke       1       Smoke
                       Functional       Regression


                          1                 3                  0.3
  Dev                    QA             Staging              Prod
3 days to QA environment                   30 min to each environment
20 page checklist                          Auto configuration management
1 day getting prod data to env             1 click deployment
Similar timeframes for stg/prod            1 click restore prod db
Frustrated QAs
Testing



Develop
            3         Smoke      3     Smoke       1        Smoke
                    Functional       Regression


                         1               3                   0.3
Dev                      QA          Staging               Prod
   4 days (4 QAs)                        1 day (2 QAs)
   Tedious regression                    Automated functional tests
   Slow feedback cycle
Behaviour Driven Dev’t by empowered testers
Automated continuous delivery pipeline
 Dev          Version         Build, Test &          Automated        QA Env &     Staging       Prod &
Team          Control          Assemble            regression test   Smoke test   Smoke Test   Smoke Test


       check in

                        trigger
                  feedback                    trigger



                  feedback

                                                   one click
                  feedback
                                                   one click
                  feedback

                                                   one click
                  feedback
What did we learn?

• Automation, Automation, Automation
• Continuous feedback/improvement
• Takes longer to automate for Windows
• Put infrastructure configuration into version control
• Run automated smoke tests for each deployment
Change in value stream times


Develop
             3       Smoke         3       Smoke         1     Smoke
                   Functional            Regression


                      1                     3                  2 hrs
Dev                  QA                  Staging               Prod


          30 min                30 min                30 min

                     1 hr                 7 hrs                1 hr
Duration
  11


                      87%
                      faster release

  1
           Delivery
How you can do it
How do I sell this to my stakeholders?

Emphasise business benefits
 – increased delivery predictability
 – shorter time-to-market
 – less rework
 – lower risk
 – lower application total cost of operation


Show them the metrics!
Where do I start?

Team: What’s the major pain point?
Automate manual processes
Measure stuff!
Use experts to accelerate adoption and reduce learning curve
We’re hiring...

@nishmahanty            @lawrencesong
nish.mahanty@myob.com   lawrence.song@myob.com

Mais conteúdo relacionado

Semelhante a Agile Australia Conference 2011 - Devops live accounts- continuous delivery_st

Continuous Deployment: Startup Lessons Learned
Continuous Deployment: Startup Lessons LearnedContinuous Deployment: Startup Lessons Learned
Continuous Deployment: Startup Lessons Learned
Ash Maurya
 
Continuous delivery @åf consult
Continuous delivery @åf consultContinuous delivery @åf consult
Continuous delivery @åf consult
Tomas Riha
 
Continuously Delivering: Compress the time from committed to consumed
Continuously Delivering: Compress the time from committed to consumedContinuously Delivering: Compress the time from committed to consumed
Continuously Delivering: Compress the time from committed to consumed
Atlassian
 
Testing in an Open Source Middleware Platform Space The WSO2 Way.
Testing in an Open Source Middleware Platform Space  The WSO2 Way.Testing in an Open Source Middleware Platform Space  The WSO2 Way.
Testing in an Open Source Middleware Platform Space The WSO2 Way.
WSO2
 
Linuxtag 2012 - continuous delivery - dream to reality
Linuxtag 2012  - continuous delivery - dream to realityLinuxtag 2012  - continuous delivery - dream to reality
Linuxtag 2012 - continuous delivery - dream to reality
Clément Escoffier
 

Semelhante a Agile Australia Conference 2011 - Devops live accounts- continuous delivery_st (20)

Releasing fast code - The DevOps approach
Releasing fast code - The DevOps approachReleasing fast code - The DevOps approach
Releasing fast code - The DevOps approach
 
Beyond Scrum: Scaling Agile with Continuous Delivery and Subversion
Beyond Scrum: Scaling Agile with Continuous Delivery and SubversionBeyond Scrum: Scaling Agile with Continuous Delivery and Subversion
Beyond Scrum: Scaling Agile with Continuous Delivery and Subversion
 
How to Introduce Continuous Delivery
How to Introduce Continuous DeliveryHow to Introduce Continuous Delivery
How to Introduce Continuous Delivery
 
Continuous Integration & the Release Maturity Model
Continuous Integration & the Release Maturity Model Continuous Integration & the Release Maturity Model
Continuous Integration & the Release Maturity Model
 
Discovery delivery 中国软件技术大会2011
Discovery delivery 中国软件技术大会2011Discovery delivery 中国软件技术大会2011
Discovery delivery 中国软件技术大会2011
 
How to develop a common sense of "DONE"?
How to develop a common sense of "DONE"?How to develop a common sense of "DONE"?
How to develop a common sense of "DONE"?
 
Continuous Deployment: Startup Lessons Learned
Continuous Deployment: Startup Lessons LearnedContinuous Deployment: Startup Lessons Learned
Continuous Deployment: Startup Lessons Learned
 
Releasing To Production Every Week
Releasing To Production Every WeekReleasing To Production Every Week
Releasing To Production Every Week
 
Continuous delivery @åf consult
Continuous delivery @åf consultContinuous delivery @åf consult
Continuous delivery @åf consult
 
Continuous Deployment at Etsy — TimesOpen NYC
Continuous Deployment at Etsy — TimesOpen NYCContinuous Deployment at Etsy — TimesOpen NYC
Continuous Deployment at Etsy — TimesOpen NYC
 
Continuously Delivering: Compress the time from committed to consumed
Continuously Delivering: Compress the time from committed to consumedContinuously Delivering: Compress the time from committed to consumed
Continuously Delivering: Compress the time from committed to consumed
 
2011 Acumen Annual Summit Keynote
2011 Acumen Annual Summit Keynote2011 Acumen Annual Summit Keynote
2011 Acumen Annual Summit Keynote
 
Continuous Integration at T3CON08
Continuous Integration at T3CON08Continuous Integration at T3CON08
Continuous Integration at T3CON08
 
Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
 
Continuous Delivery in the real world - techniques to reduce the developers b...
Continuous Delivery in the real world - techniques to reduce the developers b...Continuous Delivery in the real world - techniques to reduce the developers b...
Continuous Delivery in the real world - techniques to reduce the developers b...
 
Agile Software Development in Practice - A Developer Perspective
Agile Software Development in Practice - A Developer PerspectiveAgile Software Development in Practice - A Developer Perspective
Agile Software Development in Practice - A Developer Perspective
 
Continuous deployment
Continuous deploymentContinuous deployment
Continuous deployment
 
Testing in an Open Source Middleware Platform Space The WSO2 Way.
Testing in an Open Source Middleware Platform Space  The WSO2 Way.Testing in an Open Source Middleware Platform Space  The WSO2 Way.
Testing in an Open Source Middleware Platform Space The WSO2 Way.
 
Linuxtag 2012 - continuous delivery - dream to reality
Linuxtag 2012  - continuous delivery - dream to realityLinuxtag 2012  - continuous delivery - dream to reality
Linuxtag 2012 - continuous delivery - dream to reality
 
Continuous delivery @wcap 5-09-2013
Continuous delivery   @wcap 5-09-2013Continuous delivery   @wcap 5-09-2013
Continuous delivery @wcap 5-09-2013
 

Mais de Nish Mahanty

LAST Conference - The Mickey Mouse model of leadership for software delivery ...
LAST Conference - The Mickey Mouse model of leadership for software delivery ...LAST Conference - The Mickey Mouse model of leadership for software delivery ...
LAST Conference - The Mickey Mouse model of leadership for software delivery ...
Nish Mahanty
 

Mais de Nish Mahanty (8)

Growing Teams - Tech Leading Ladies Meetup 2019
Growing Teams -  Tech Leading Ladies Meetup 2019Growing Teams -  Tech Leading Ladies Meetup 2019
Growing Teams - Tech Leading Ladies Meetup 2019
 
Moving from a Monolith to distributed Monolith
Moving from a Monolith to distributed MonolithMoving from a Monolith to distributed Monolith
Moving from a Monolith to distributed Monolith
 
CTO School Melbourne 2017 - Getting Started at a Startup
CTO School Melbourne 2017 - Getting Started at a StartupCTO School Melbourne 2017 - Getting Started at a Startup
CTO School Melbourne 2017 - Getting Started at a Startup
 
Agile Case Study With Cliffnotes
Agile Case Study With CliffnotesAgile Case Study With Cliffnotes
Agile Case Study With Cliffnotes
 
LAST Conference - The Mickey Mouse model of leadership for software delivery ...
LAST Conference - The Mickey Mouse model of leadership for software delivery ...LAST Conference - The Mickey Mouse model of leadership for software delivery ...
LAST Conference - The Mickey Mouse model of leadership for software delivery ...
 
Agile Australia Conference 2012 - Building High Performing Teams - to deliver...
Agile Australia Conference 2012 - Building High Performing Teams - to deliver...Agile Australia Conference 2012 - Building High Performing Teams - to deliver...
Agile Australia Conference 2012 - Building High Performing Teams - to deliver...
 
Devops down under - building high performing teams
Devops down under - building high performing teamsDevops down under - building high performing teams
Devops down under - building high performing teams
 
Agile adoption tales from the coalface
Agile adoption   tales  from the coalfaceAgile adoption   tales  from the coalface
Agile adoption tales from the coalface
 

Último

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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
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...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Agile Australia Conference 2011 - Devops live accounts- continuous delivery_st