git branching for continuous delivery sarah goff dupont
play

Git Branching for Continuous Delivery Sarah Goff-Dupont Developer - PowerPoint PPT Presentation

extreme ^ Git Branching for Continuous Delivery Sarah Goff-Dupont Developer Advocate & Agile Delivery Nerd @DevToolSuperFan not afraid to ham it up in photos Agenda Git + CD = BFFs 1 Branching models 2 Pointers & pro-tips 3


  1. extreme ^ Git Branching for Continuous Delivery

  2. Sarah Goff-Dupont Developer Advocate & Agile Delivery Nerd @DevToolSuperFan not afraid to ham it up in photos

  3. Agenda Git + CD = BFFs 1 Branching models 2 Pointers & pro-tips 3

  4. Why Git for CD?

  5. Challenge #1: dependencies easy to navigate, right?

  6. Challenge #2: code line chaos I do my thing, too I do my thing look Ma, a goat!

  7. Build in narrow vertical slices “big bang” launch pint-sized release TESTING TESTING FRONT END FRONT END BACK END BACK END DATABASE DATABASE Time

  8. In Git Branching & merging is a breeze

  9. Keep the main line clean dev branch = isolation chamber

  10. Clarity & traceability

  11. Branch-per-Issue Workflow

  12. A branch for every issue fortunately, no goats here master sgd-IRKD-30 sgd-IRKD-45

  13. A branch for every issue master sgd-IRKD-30 gatekeeper

  14. A branch for every issue still no goats!

  15. Surprise! master sgd-IRKD-30 sgd-IRKD-45

  16. Using an integration branch master integration sgd-IRKD-30 sgd-IRKD-45

  17. Using an integration branch master integration sgd-IRKD-30 sgd-IRKD-45

  18. Branch-per-Issue Workflow for installed app teams

  19. Multiple-version support v 1.1 v 1.2 master sgd-IRKD-30

  20. Pre-release changes v 1.1 v 1.2 sgd-IRKD-31 master sgd-IRKD-30

  21. Post-release updates bugfix- v 1.1 IRKD-32 v 1.2 master sgd-IRKD-30

  22. Post-release updates bugfix-IRKD-32 v 1.1 v 1.2 master

  23. Other “Stu ff ” to Consider

  24. Running CI on dev branches all active branches are under test

  25. Running CI on dev branches bitbucket.org/tpettersen/git-ci-hooks Manually clone master’s CI configs 1 Automate with plugin or Git hook 2 3

  26. Running CI on dev branches

  27. Using build power e ff iciently trigger CI with every commit here v 1.2 master sgd-IRKD-30 push-button builds here

  28. Peer code review

  29. Peer code review Create request via UI or git request-pull 1 Review, revise, rinse & repeat 2 Approve & merge 3

  30. Take it to the extreme Build small pieces, end-to-end 1 Let dev branches do the dirty work 2 Keep master releasable at all times 3 Reach continuous delivery nirvana 4

  31. More info at... http://atlassian.com/git 1 @Atlassian 2

  32. Q & A

  33. Sarah Goff-Dupont Developer Advocate & Agile Delivery Nerd @DevToolSuperFan sgo ff dupont@atlassian.com

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend