Continuous Delivery

4,499 views

Published on

Vortrag von Axel Fontain am 22. Juni 2011 vor der JUG Berlin-Brandenburg zum Thema Continuous Delivery and Continuous Deployment.

Published in: Technology, Sports
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,499
On SlideShare
0
From Embeds
0
Number of Embeds
135
Actions
Shares
0
Downloads
82
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Continuous Delivery

  1. 1. 22.06.2011Continuous DeliveryAxel FontaineSoftware Development Experttwitter.com/axelfontainewww.axelfontaine.combusiness@axelfontaine.com
  2. 2. Ceci n’est pas une build tool.
  3. 3. Ceci n’est pas une version control.
  4. 4. Ceci n’est pas une testing. http://www.flickr.com/photos/vitorcastillo/2994723741/
  5. 5. Ceci n’est pas une deployment. http://www.flickr.com/photos/chiotsrun/4457365506/
  6. 6. Ceci n’est pas une process. http://www.flickr.com/photos/feffef/460299390/in/photostream/
  7. 7. Geht es auch anders?
  8. 8. http://code.flickr.com/
  9. 9. http://stackoverflow.com/
  10. 10. http://www.flickr.com/photos/aeroworks/97338266/in/photostream/
  11. 11. http://digitalcitizen.ca/2009/06/22/simpsons-profile-pics-for-facebook-and-other-applications/
  12. 12. Fokus der Fokus vonletzten 10 Jahre Continuous Delivery
  13. 13. ContinuousDelivery http://www.flickr.com/photos/kamshots/3096111340/
  14. 14. Zuverlässige Software ReleasesdurchBuild AutomatisierungTest AutomatisierungDeployment Automatisierung
  15. 15. http://www.flickr.com/photos/fordapa/3886403372/in/set-72157622110280353/BuildAutomatisierung
  16. 16. DEVBuild
  17. 17. DEVBuild Version Control
  18. 18. DEV Continuous IntegrationBuild Version Build Control
  19. 19. Build AutomatisierungSchneller Build ---> Schnelles FeedbackFrüh einchecken, oft eincheckenBuild grün hat die höchste PrioNichts Neues einchecken, solange Build rot istZurückrollen, wenn Build zu lange rot ist
  20. 20. TestAutomatisierung http://www.flickr.com/photos/travelinlibrarian/160356388/
  21. 21. Small Medium Large Black BoxUnit Test Component Test System Test
  22. 22. Small Medium Large Black BoxUnit Test Component Test System Test
  23. 23. Anwendung System A System B DB
  24. 24. Anwendung System ALarge System B Test DB
  25. 25. Anwendung System ALarge System B Dummy Test DB
  26. 26. Anwendung System ALarge System B Dummy Test DB
  27. 27. Anwendung System ALarge System B Dummy Test DB
  28. 28. DEV Continuous IntegrationBuild Build Version ControlSmallTests
  29. 29. DEV Continuous IntegrationBuild Build Version ControlSmallTestsMedium Tests
  30. 30. DEV Continuous IntegrationBuild Build Version ControlSmallTestsMedium Tests Large Tests
  31. 31. DEV Continuous IntegrationBuild Build Version ControlSmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  32. 32. Test AutomatisierungSchnelle Tests ---> Schnelles FeedbackAlle Tests ausführen vor dem EincheckenDummies einsetzen für externe SystemeTests laufen komplett lokal (auch ext. Systeme)Tests mit @Ignore nicht einchecken
  33. 33. DeploymentAutomatisierung http://www.flickr.com/photos/soldiersmediacenter/3650607959/
  34. 34. SnapshotswerdenNICHTdeployed !
  35. 35. DEV Continuous IntegrationBuild Build Release Version Artifact Control RepositorySmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  36. 36. Was wird deployed?Code Konfiguration DB Delta
  37. 37. backup stop install start … CodeDeployment Deployment Script Package
  38. 38. backup stop install start … CodeDeployment Deployment Script Package
  39. 39. Continuous ZielIntegration backup stop install start … Release Artifact Deployment Repository Script
  40. 40. Konfiguration ApplikationUmgebung + Applikation Sicherheit UmgebungConfiguration Deployment Code File Server Package System
  41. 41. ?Environment Detection Code Deployment Package
  42. 42. AbnahmeEnvironment Detection Code
  43. 43. Continuous ZielIntegration backup stop install start … Release Artifact Deployment Repository Script
  44. 44. DB Delta CodeDeployment Package
  45. 45. Code ? ? DBDeployment Package
  46. 46. http://code.google.com/p/flyway/
  47. 47. Continuous ZielIntegration backup stop install start … Release Artifact Deployment Repository Script
  48. 48. Deployment AutomatisierungSchnelles Deployment ---> Schnelles FeedbackEin Deployment Package …… mit Code, Konfiguration und DB Delta …… vollautomatisiert deployen …… nach jedem grünen Build !
  49. 49. Continuous ZielDEV Integration backup stop install start …Build Build Release Deployment Version Artifact Control Script RepositorySmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  50. 50. 3 more things…
  51. 51. BriefversandRegistrierung
  52. 52. BriefversandRegistrierung
  53. 53. BriefversandRegistrierung v2 Paketversand
  54. 54. Branch by Abstraction Briefversand Registrierung Paketversand
  55. 55. Branch by Abstraction Briefversand Registrierung Paketversand
  56. 56. DB
  57. 57. Memcache DB
  58. 58. Blue/Green Deployments Memcache DB
  59. 59. CodeDeployment Package
  60. 60. Zusammenfassung
  61. 61. • Team (a-team van)
  62. 62. ISBN-13: 978-0-321-60191-9
  63. 63. Danke !Axel FontaineSoftware Development Experttwitter.com/axelfontainewww.axelfontaine.combusiness@axelfontaine.com

×