Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
StreetVoice 自動化部署演進
Search
Ming Shien Tzang
August 23, 2016
Technology
0
510
StreetVoice 自動化部署演進
Ming Shien Tzang
August 23, 2016
Tweet
Share
More Decks by Ming Shien Tzang
See All by Ming Shien Tzang
英文有聲書這樣聽就對了
tzangms
0
480
從工程師到總經理
tzangms
19
9.9k
克服人心的障礙,跨越自動化測試的門檻
tzangms
7
2.4k
小海之路
tzangms
2
380
The workflow of the New StreetVoice
tzangms
20
2.1k
小海嚴選
tzangms
6
1.4k
StreetVoice: From Windows/ASP to Linux/Python
tzangms
12
1.6k
Deploy Django on Windows Azure web sites in 5 minutes
tzangms
1
1.2k
Other Decks in Technology
See All in Technology
Terraform Stacks入門 #HashiTalks
msato
0
350
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
590
Engineer Career Talk
lycorp_recruit_jp
0
150
Application Development WG Intro at AppDeveloperCon
salaboy
0
180
Taming you application's environments
salaboy
0
180
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.2k
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
170
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
The Invisible Side of Design
smashingmag
298
50k
Statistics for Hackers
jakevdp
796
220k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Writing Fast Ruby
sferik
627
61k
For a Future-Friendly Web
brad_frost
175
9.4k
Adopting Sorbet at Scale
ufuk
73
9.1k
Designing the Hi-DPI Web
ddemaree
280
34k
Transcript
ᛔ㵕玕蟂ᗟᄍ蝱 @ ModernWeb 2016
橕ෝ StreetVoice ᤋ肨牏౯
加缏ᶪ禼ᐒᗭ翕ᒊ ݣ傀牏詂牏Ӿ㾴
窔稧 碍֖ᶪ禼咳ᤈ
憎挨य़㿁 襎憙℄ፓ牏ᶪ禼蔭ᄍ
墋㻌ኞၚ℄ 狶ࡅ稭ጱԪ 虏ࡅ稭ጱԪ磪㰷独
tzangms ੜၹ, Ո圸ၹ者ቘ
Intro ࣁ獺叨禂牧ग़犖ฎ蝍穩讨ದ蔩
ض藯᯿讨 StreetVoice ই֜狶ᛔ㵕玕蟂ᗟ
蝫ೲ衔᮷犋አೲ master branch ݝᥝ磪ๅ碝, 纷ୗ疰䨝ᛔ㵕蟂ᗟکྋୗ絑ह
傶֜ᥝᛔ㵕蟂ᗟ 狶ࡅ稭ጱԪ 虏ࡅ稭ጱԪ磪㰷独 耆卓ጱԪ眐虏犢ᛔ૩㵕
翕ᒊॡग़ 犋ᛔ㵕蟂ᗟ䨝稴Ոጱ 30+ instance 20+ instance
ᥝ揗揣ጱ翕ᒊ
犋ݝ蝡犚 螭磪皃㮆ࣁ憒㴟Ӿ …
ྯ㮆翕ᒊ螭磪犋ݶ絑ह production, staging, development
翕ᒊአکጱ䩚ᥜॡग़ python npm nginx gunicorn cronjob worker linux etc طฎӞ㮆翕ᒊ疰አک盄ग़๐率
֕ฎ౯㮉ݝ磪Ӟ㮆 SA 犥獮ฎ vinta Ӟ㮆Ո獊۱
–౯㮉疑 SA ̿ᥝ᯿ୌ SV ܈皃ݣ犋ݶአ蝝ጱ֑๐瑊کӤ娄, ݝ 襑ᥝ妔౯犋ک 20 獤楮̀
ᛔ㵕玕蟂ᗟጱ獮 • ᪃䄪ጱᛔ㵕玕介手 • ૡ֢窕纷 • 碻樌
ૡ֢窕纷
None
None
None
蝢Ꭳ 蝚螂 Slack Ꭳ螇ಅ磪य़ੜԪ
蟂ᗟᄍ蝱 • FTP • Fabric • SaltStack • Ansible
FTP 犋ᥝᒞ, ک匍ࣁ螭ฎ磪Ոࣁ FTP
Fabric ݢ犥አ㬵狶盄ग़Ԫ, ݢฎ吚翕ᒊ᩼虋᩼蕦褾ጱ碻狡 …
SaltStack
$ salt “*” state.highstate ݞ saltstack 蝱ᤈ蟂ᗟ
ፗ矑ࣁ hipchat 矒ګ saltstack አ hubot 矒ګ
None
None
匍ࣁ䷱Ոቘ hubot ԧ ࢩ傶蟂ᗟ᮷ᛔ㵕玕ԧ, 犋螂螨ع苭Ӟ, 犢螭ฎࣁ
蟂ᗟᛔ㵕蝢Ꭳ
傶֜矦 Ansible
–౯㮉疑 SA ̿穉蚏 saltstack牧ࣗ穉斃牧 戔ਧොୗ墋㻌牏竃༩牐̀
蜢舚ጱ䌃纷ୗ 䌃纷ୗ 樄 feature branch 盅 push Ӥ Github ݚ樄
Pull Request, ࣁ merge 獮, 䨝ض Code Review 㪐Ӥ粚矒ګ羬翄 蝚螂 Travis CI ᪒㻌ز 介手, ইຎ蝢螂介手, Code Review 犖䷱㺔 氂ጱ扖, 䨝 merge 㻌ز介手 ইຎ磪纷ୗ merge 蝱 develop ฎ master branch, Travis CI 介 手蝢螂䨝ᛔ㵕ݞ ansible 樄ত蟂ᗟ ᛔ㵕蟂ᗟ ansible 䨝ಅ磪ፘ 橕֑๐瑊ጱ纷ୗ牏 戔ਧ᮷ๅ碝ک磧碝 ጱ制眲 ๅ碝纷ୗ牏制眲 ᛔ㵕玕蟂ᗟ窕纷
ဳԪ殻 Ջ讕碻狡犋胼ᛔ㵕蟂ᗟ
DB migration • ࣁ staging 碝ी䳱֖ • ࣁ production 㳫ᴻ䳱֖
NoSQL ጱ๏藶᪡螂, 蘛蘛!
ᛔ㵕玕盅ݢڥአጱ猻玊
䌕ஞ䌃纷ୗ 蟂ᗟӤ娄缛, 㻌ز介手缛, 傶֜犋缛ਠ౮蝢Ꭳ疰অ
֦㮉ᛔ㵕玕ԧ㻟?
Q & A