Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keep the build green

Keep the build green

Talk from T3EE16 on how to keep the build green

Peter Foerger

November 11, 2016
Tweet

More Decks by Peter Foerger

Other Decks in Technology

Transcript

  1. keep the build green TYPO3 East Europe 2016 dkd Internet

    Service GmbH
 CLUJ-NAPOCA, ROMANIA 10-12 NOV 2016 1
  2. 10

  3. 11

  4. 12

  5. 14

  6. 15

  7. 16

  8. –Andre Gide »Everything has been said before, but since nobody

    listens we have to keep going back and beginning all over again« 17
  9. 20

  10. 22

  11. 28

  12. 33

  13. 34

  14. 35

  15. 39

  16. 41

  17. 44

  18. 46

  19. 50

  20. –Martin Fowler, Chief Scientist, ThoughtWorks »Continuous Integration doesn’t get rid

    of bugs, but it does make them dramatically easier to find and remove.« 53
  21. keep everything in version control automate almost everything build, deploy,

    test, release manual testing, approvals humans for the high value stuff if it hurts, do it more often and bring the pain forward 54 continuous integration
  22. continuos integration Feedback to Client via Jenkins via Agency via

    Client Developer Acceptance Process Developer Developer Developer Developer Development (Integration) Acceptance (Test) Live (Production) Source Code Management (SCM) Jenkins Feedback to Agency Projectmanager Developer
  23. FTP/SFTP Git + SSH Git + Capistrano Deployer GitLab CI

    Surf custom no idea 57 how do you deliver software?
  24. build binaries/artifacts once deploy the same way to every environment

    smoke test your deployments keep your environments similar if anything fails, stop the line use semantic versioning external environment configuration short lived feature branches feature toggles blue/green deployments 66 best practises
  25. TYPO3 CMS specific tasks for TYPO3 CMS Deployment
 DB compare

    run TYPO3 CLI tasks activate/deactivate maintenance page generate encryption key add admin user clear TYPO3 caches upload DB settings add default structure & content clear OPcache cleanup shared assets enable/disable Install Tool fetch extensions to local workspace 69
  26. why? simple deploys all kind of web applications no server-side

    installation runs over SSH seamlessly integration in CI/CD extendable 70
  27. 71

  28. Github dkdeploy-core - https://github.com/dkdeploy/dkdeploy-core dkdeploy-php - https://github.com/dkdeploy/dkdeploy-php WIP dkdeploy-typo3-cms -

    https://github.com/dkdeploy/dkdeploy-typo3-cms Documentation https://dkdeploy.github.io/ 79 where to get the Code?
  29. 82

  30. list of sources https://scontent.ftxl1-1.fna.fbcdn.net/t31.0-8/14889815_1129004700530512_6266750676705112887_o.jpg https://farm1.staticflickr.com/180/370973576_9c1c871c39_b_d.jpg https://farm2.staticflickr.com/1041/537804368_ce625cf161_o_d.jpg https://farm2.staticflickr.com/1106/1338732247_5c26f8fa57_o_d.jpg https://farm6.staticflickr.com/5241/5231611325_138450f3ff_o_d.jpg https://farm8.staticflickr.com/7105/7170622773_d1cfe6775a_o_d.jpg https://farm4.staticflickr.com/3736/9223862700_bacad3fc3e_k_d.jpg

    https://farm8.staticflickr.com/7305/9669670896_af5478a7a9_k_d.jpg https://farm8.staticflickr.com/7315/10726335934_a017978f36_k_d.jpg https://farm8.staticflickr.com/7338/12662045524_3e4775fb0f_h_d.jpg https://farm8.staticflickr.com/7400/27386350314_e03d3360a1_k_d.jpg https://upload.wikimedia.org/wikipedia/commons/3/39/Grady_Booch%2C_CHM_2011_2_cropped.jpg http://67.media.tumblr.com/e896aca144598743477d7ce6e973b29c/tumblr_inline_na769iImuW1qm2u6j.png 86