Continuous Updates

771951f55ed37335f238e1a80dfda9cd?s=47 Juanito Fatas
May 20, 2016
77

Continuous Updates

Continuous Updates @ Rails Pacific 2016

771951f55ed37335f238e1a80dfda9cd?s=128

Juanito Fatas

May 20, 2016
Tweet

Transcript

  1. CONTINUOUS UPDATES Update Early x Update Often #RailsPacific 2016

  2. 5

  3. None
  4. None
  5. Juanito Fatas from Taiwan Jolly Good Code EFQQCPU

  6. None
  7. None
  8. None
  9. None
  10. GEMFILE GEMFILE.LOCK BUNDLE INSTALL Manage Dependencies HFNTSC HFNTMPDLFE JOUSPEVDFEJOQSF

  11. $ bundle update

  12. How often do you update? !!

  13. LATER EQUALS NEVER

  14. Winston Teo Practice of updating all dependencies to newer versions

    several times a month. Organiser, RedDotRubyConf
  15. Benefits of Continuous Updates

  16. INCREMENTAL IMPROVEMENTS

  17. FIX SECURITY VULNERABILITIES

  18. REDUCE
 TECHNICAL DEBT

  19. MAKE FUTURE UPGRADE EASIER

  20. DEVELOPER DISLIKE LEGACY GEMS

  21. MAINTAINER
 LOVE BUGS FROM NEW RELEASES

  22. CONTINUOUS LEARNINGS FROM GEM UPDATES

  23. SHIP LATEST SOFTWARES

  24. Sounds good but how to do?

  25. bundle update add, commit, push open a new PR on

    GitHub.com Issue the Pull Request Manually
  26. ~ 10 mins

  27. From idea to script

  28. today = Time.current.strftime("%F") new_branch = "bundle-update-#{today}" `git checkout master` `git

    pull` `git checkout -b #{new_branch}` `bundle update` `git add Gemfile.lock` `git commit -m ‘Bundle Updates’ `git push origin #{new_branch}` `git pull-request -m "Updates #{today}"
  29. Notification Services

  30. None
  31. None
  32. They only tell you, you still need to do the

    work.
  33. Still not automated

  34. Fully Automated Service

  35. None
  36. Bundle Updates

  37. None
  38. None
  39. None
  40. None
  41. None
  42. None
  43. None
  44. Security Updates

  45. None
  46. None
  47. None
  48. None
  49. None
  50. deppbot is your Active Support

  51. https://www.deppbot.com 5061 Pull Requests Sent 407 hours Engineering Time Saved

  52. Update Early

  53. Update Often

  54. "Continuous Updates"

  55. #MakeRubyGreatAgain http://blog.testdouble.com/posts/2016-05-09-make-ruby-great-again.html Hopefully