Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Continous Delivery with CQ


Published on

Continuous Delivery is the philosophy of creating software that is in a production-ready state and can be easily deployed to a production system.

How can this be achieved with a CQ website? The first step is to implement Continuous Integration as a foundation of Continuous Delivery.

Continuous Integration forces the team to continually integrate their pieces of software. If we are able to integrate all CQ components with an automated testing process, we can start to implement Continuous Delivery. This also requires that we are able to start and stop CQ automatically by script so that we can execute such automated tests. Other parts of Continuous Delivery are automated deployment to test servers and automated delivery to the customer.

This presentation gives a brief overview of Continuous Delivery and how it can be achieved with CQ. We show an example implementation of this philosophy and which tools have been successfully used in the process.

Published in: Technology, Business
  • Be the first to comment

Continous Delivery with CQ

  1. 1. Continuous Delivery with CQThe way of automating the Software Development processOliver BurkhalterBasel, 20. Juni 2013
  2. 2. © Unic - Seite 2Agenda• About me• Continuous Integration(CI) and Continuous Delivery(CD)• CQ and CI/CD implementation example• Demo
  3. 3. © Unic - Seite 3• Oliver Burkhalter (age = 28)• Since 2007 at Unic AG• Likes: Software Development, People/Teams, Baking, Thun CityAbout me
  4. 4. © Unic - Seite 4One-ClickReleasesDeploymentsProduction
  5. 5. © Unic - Seite 5What is CI and CD?ContinuousIntegrationContinuousDeliveryContinuousDeploymentNon-Production environment Production environment
  6. 6. © Unic - Seite 6• Continuous Integration:• Team members integrate their work daily• All the components are automatically integrated and tested by the CI systemWhat is CI and CD?
  7. 7. © Unic - Seite 7• Continuous Delivery:• Is the advancement of CI• Is an end-to-end approach (from dev to end user)• Software is always in a production-ready state• It is the technique to automate thebuild, test and deployment process• Fail Fast pattern• Pipeline Pattern from Jez Humble&Co.What is CI and CD?
  8. 8. © Unic - Seite 8• Continuous Deployment:• Continuously deployment to the Production environment (one-click idea)• From Development to Production• “Extreme Cont. Delivery”What is CI and CD?Deployment
  9. 9. © Unic - Seite 9Why
  10. 10. © Unic - Seite 10
  11. 11. © Unic - Seite 11• Forces us to write Quality software• The overall Thinking changes fromdev -> test system to dev -> end user system• Faster release cycles are possible• Automated Software Development Process is less error prone• Team Ownership of the release process (not only «Release Manager»,infrastructure is also code)• Everybody can do a release (one click)Why?
  12. 12. © Unic - Seite 12Implementation example stackWriteBuildTestDeployRunApache MavenJenkinsJUnitHtmlUnitJenkinsAntJenkins
  13. 13. © Unic - Seite 13• With Maven Plugins: Auto start/stop of CQ, deployment of CQ packages over theCRX HTTP interface• Running auto. tests with JUnit and HtmlUnit• Set of unit and integration tests• Automated Acceptance tests still in progressFoundation: CI
  14. 14. © Unic - Seite 14• Separate “delivery” and “infrastructure” Maven module• Delivery:• Deployment scripts• Filtering files• Infrastructure• Environment-specific configurations• Done with Ant scripts and custom Ant tasksNext: Continuous Delivery
  15. 15. © Unic - Seite 15• Direct deployment to the customers production environment• Depends also on the customer• Example: Trusted Maven RepositoriesNext 2: Continuous Deployment
  16. 16. © Unic - Seite 16Demo
  17. 17. © Unic - Seite 17Click to edit Master title styleHow do you do it / Questions
  18. 18. © Unic - Seite 18Click to edit Master title styleThank you!
  19. 19. © Unic - Seite 19•••• Images from Gettyimages as license-freeReferences