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
540
StreetVoice 自動化部署演進
Ming Shien Tzang
August 23, 2016
Tweet
Share
More Decks by Ming Shien Tzang
See All by Ming Shien Tzang
英文有聲書這樣聽就對了
tzangms
0
510
從工程師到總經理
tzangms
19
10k
克服人心的障礙,跨越自動化測試的門檻
tzangms
7
2.4k
小海之路
tzangms
2
390
The workflow of the New StreetVoice
tzangms
20
2.1k
小海嚴選
tzangms
6
1.4k
StreetVoice: From Windows/ASP to Linux/Python
tzangms
12
1.7k
Deploy Django on Windows Azure web sites in 5 minutes
tzangms
1
1.2k
Other Decks in Technology
See All in Technology
TypeScript入門
recruitengineers
PRO
19
5.8k
サービスロボット最前線:ugoが挑むPhysical AI活用
kmatsuiugo
0
190
実践アプリケーション設計 ②トランザクションスクリプトへの対応
recruitengineers
PRO
3
170
AIとTDDによるNext.js「隙間ツール」開発の実践
makotot
6
690
広島銀行におけるAWS活用の取り組みについて
masakimori
0
140
小さなチーム 大きな仕事 - 個人開発でAIをフル活用する
himaratsu
0
120
Goss: New Production-Ready Go Binding for Faiss #coefl_go_jp
bengo4com
0
1.1k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.6k
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
2
200
GitHub Copilot coding agent を推したい / AIDD Nagoya #1
tnir
3
4.6k
退屈なことはDevinにやらせよう〜〜Devin APIを使ったVisual Regression Testの自動追加〜
kawamataryo
3
630
見てわかるテスト駆動開発
recruitengineers
PRO
5
350
Featured
See All Featured
Building an army of robots
kneath
306
46k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
The Invisible Side of Design
smashingmag
301
51k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Gamification - CAS2011
davidbonilla
81
5.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
A Tale of Four Properties
chriscoyier
160
23k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
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