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.

QConSP 2014 - Continuous Delivery - Part 03 - Continuous Integration

1,359 views

Published on

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

QConSP 2014 - Continuous Delivery - Part 03 - Continuous Integration

  1. 1. CONTINUOUS  INTEGRATION   Fabricio Leotti | Rodrigo Russo
  2. 2. Princípios  básicos  
  3. 3. Princípios  básicos   •  Controle  de  versão  
  4. 4. Princípios  básicos   •  Controle  de  versão   •  Prepare  para  a  automação  
  5. 5. Princípios  básicos   •  Controle  de  versão   •  Prepare  para  a  automação   •  Faça,  meça,  corrija  
  6. 6. Branching  strategy  
  7. 7. Branching  strategy   •  Master  branch  
  8. 8. Branching  strategy   •  Master  branch  
  9. 9. Branching  strategy   •  Master  branch  
  10. 10. Branching  strategy   •  Master  branch  
  11. 11. Branching  strategy   •  Master  branch  
  12. 12. Branching  strategy   •  Master  branch  
  13. 13. Branching  strategy   •  Master  branch  
  14. 14. Branching  strategy   •  Master  branch  
  15. 15. Branching  strategy   •  Master  branch  
  16. 16. Branching  strategy   •  Master  branch  
  17. 17. Branching  strategy   •  HoKix  
  18. 18. Branching  strategy   •  HoKix  
  19. 19. Branching  strategy   •  HoKix  
  20. 20. Branching  strategy   •  HoKix  
  21. 21. Branching  strategy   •  HoKix  
  22. 22. Branching  strategy   •  HoKix  
  23. 23. Branching  strategy   •  HoKix  
  24. 24. Branching  strategy   •  HoKix  
  25. 25. Branching  strategy   •  HoKix  
  26. 26. Branching  strategy   •  HoKix  
  27. 27. Branching  strategy   •  HoKix  
  28. 28. Branching  strategy   •  HoKix  
  29. 29. Branching  strategy   •  HoKix  
  30. 30. CI/CD  Pipeline  
  31. 31. CI/CD  Pipeline   A Basic Deployment Pipeline Figure 5.4 shows a typical deployment pipeline and captures the essence of the approach. Of course, a real pipeline will reflect your project’s actual process for delivering software. Artifact repository Source code Commit stage Compile Commit tests Assemble Code analysis reports binaries metadata Acceptance stage Configure environment Deploy binaries Smoke test Acceptance tests Capacity stage Configure environment Deploy binaries Smoke test Run capacity tests UAT Configure environment Deploy binaries Smoke test Env & app config reports metadatabinaries Production Configure environment Deploy binaries Smoke test Env & app config binaries reports metadata Operations perform push-button releases Testers Self-service deploymentsDevelopers See code metrics and test failures Version control Figure 5.4 Basic deployment pipeline
  32. 32. Jenkins   Pipeline   Code  pull   Build  &  Unit  Tes1ng   Build  &  Promote   Package   Sta1c  Analysis   Commit  Stage   <Environment>   Deployment   <Environment>   Smoke  Test   <Environment>   Integra1on  Test   <Environment>   Acceptance  Test   Acceptance  Stage   <Environment>   Load  Test   <Environment>   Performance  Test   Capacity  Stage   Deploy  Binaries   Configure  Environment   Produc1on   Smoke  Test  
  33. 33. Jenkins  Pipeline  
  34. 34. Jenkins  Pipeline   •  Jenkins  jobs  
  35. 35. Jenkins  Pipeline   •  Jenkins  jobs  
  36. 36. Jenkins  Pipeline   •  Jenkins  jobs  
  37. 37. Jenkins  Pipeline   •  Jenkins  jobs  
  38. 38. Jenkins  Pipeline   •  Jenkins  jobs  
  39. 39. Jenkins  Pipeline   •  Jenkins  jobs  
  40. 40. Jenkins  Pipeline   •  Jenkins  jobs  
  41. 41. Jenkins  Pipeline   •  Jenkins  jobs  
  42. 42. Jenkins  Pipeline   •  Jenkins  jobs  
  43. 43. Jenkins  Pipeline   •  Jenkins  jobs  
  44. 44. Jenkins  Pipeline   •  Jenkins  jobs  
  45. 45. Jenkins  Pipeline   •  Jenkins  jobs  
  46. 46. Jenkins  Pipeline   •  Jenkins  jobs  
  47. 47. Pollmachine  Pipeline  

×