Slide 1

Slide 1 text

CONTINUOUS UPDATES Update Early x Update Often #RailsPacific 2016

Slide 2

Slide 2 text

5

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Juanito Fatas from Taiwan Jolly Good Code EFQQCPU

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

GEMFILE GEMFILE.LOCK BUNDLE INSTALL Manage Dependencies HFNTSC HFNTMPDLFE JOUSPEVDFEJOQSF

Slide 11

Slide 11 text

$ bundle update

Slide 12

Slide 12 text

How often do you update? !!

Slide 13

Slide 13 text

LATER EQUALS NEVER

Slide 14

Slide 14 text

Winston Teo Practice of updating all dependencies to newer versions several times a month. Organiser, RedDotRubyConf

Slide 15

Slide 15 text

Benefits of Continuous Updates

Slide 16

Slide 16 text

INCREMENTAL IMPROVEMENTS

Slide 17

Slide 17 text

FIX SECURITY VULNERABILITIES

Slide 18

Slide 18 text

REDUCE
 TECHNICAL DEBT

Slide 19

Slide 19 text

MAKE FUTURE UPGRADE EASIER

Slide 20

Slide 20 text

DEVELOPER DISLIKE LEGACY GEMS

Slide 21

Slide 21 text

MAINTAINER
 LOVE BUGS FROM NEW RELEASES

Slide 22

Slide 22 text

CONTINUOUS LEARNINGS FROM GEM UPDATES

Slide 23

Slide 23 text

SHIP LATEST SOFTWARES

Slide 24

Slide 24 text

Sounds good but how to do?

Slide 25

Slide 25 text

bundle update add, commit, push open a new PR on GitHub.com Issue the Pull Request Manually

Slide 26

Slide 26 text

~ 10 mins

Slide 27

Slide 27 text

Slide 28

Slide 28 text

From idea to script

Slide 29

Slide 29 text

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}"

Slide 30

Slide 30 text

Notification Services

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

They only tell you, you still need to do the work.

Slide 34

Slide 34 text

Still not automated

Slide 35

Slide 35 text

Fully Automated Service

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

Bundle Updates

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

Security Updates

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

deppbot is your Active Support

Slide 52

Slide 52 text

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

Slide 53

Slide 53 text

Update Early

Slide 54

Slide 54 text

Update Often

Slide 55

Slide 55 text

"Continuous Updates"

Slide 56

Slide 56 text

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