StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature...

43
ᛔ㵕玕蟂ᗟᄍ蝱 @ ModernWeb 2016

Transcript of StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature...

Page 1: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

@ ModernWeb 2016

Page 2: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

StreetVoice

Page 3: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 4: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 5: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 6: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 7: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

tzangms,

Page 8: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

Intro

Page 9: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

StreetVoice

Page 10: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

master branch ,

Page 11: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 12: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

30+ instance 20+ instance

Page 13: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 14: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

Page 15: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

production, staging, development

Page 16: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

python

npm nginxgun

icorn cro

njob

workerlinux

etc

Page 17: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

SA

vinta

Page 18: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

– SA

SV , 20

Page 19: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

Page 20: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 21: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 22: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 23: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 24: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

Slack

Page 25: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

• FTP

• Fabric

• SaltStack

• Ansible

Page 26: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

FTP, FTP

Page 27: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

Fabric, …

Page 28: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

SaltStack

Page 29: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

$ salt “*” state.highstate

saltstack

Page 30: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

hipchat saltstack

hubot

Page 31: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 32: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 33: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

hubot , ,

Page 34: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 35: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

Ansible

Page 36: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

– SA

saltstack

Page 37: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

feature branch push Github

Pull Request, merge , Code

Review

Travis CI , ,

Code Review , merge

merge develop master branch, Travis CI

ansible

ansible

Page 38: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 39: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

DB migration• staging • production

NoSQL , !

Page 40: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ
Page 41: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

, ,

Page 42: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

?

Page 43: StreetVoice 自動化部屬演變 - ModernWeb 2016 · 2016. 8. 24. · " 1C ~· W C ~· W j feature branch vÅ push ä Github Zj Pull Request, Á merge sn, J 6 Code Review: ä| \wÒ

Q & A