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
Deploy using GitHub Releases
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yuya Matsushima
July 18, 2017
Programming
0
620
Deploy using GitHub Releases
github のリリースを使った Golang + Ruby on Rails アプリのデプロイについて
Yuya Matsushima
July 18, 2017
Tweet
Share
More Decks by Yuya Matsushima
See All by Yuya Matsushima
CMS アーキテクチャ
yterajima
0
360
Other Decks in Programming
See All in Programming
Architectural Extensions
denyspoltorak
0
280
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
2026年 エンジニアリング自己学習法
yumechi
0
130
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
520
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
Oxlintはいいぞ
yug1224
5
1.3k
CSC307 Lecture 03
javiergs
PRO
1
490
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
AgentCoreとHuman in the Loop
har1101
5
230
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Speed Design
sergeychernyshev
33
1.5k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
64
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
65
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
300
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Ruling the World: When Life Gets Gamed
codingconduct
0
140
Accessibility Awareness
sabderemane
0
51
How to Talk to Developers About Accessibility
jct
2
130
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Transcript
Deploy using GitHub Releases 2017-07-15 Gunma.web#28 Yuya Matsushima
ࣗݾհ • দౡ ༞ / @yterajima • PHP, Ruby, JS,
Go …etc • Takasaki.go ओ࠵, Tokyo Middleman Meetupओ࠵
༰ • LazySearch ͷհ • σϓϩΠํ๏ • σϓϩΠඋͷ݁Ռ •
• ·ͱΊ
LazySearch
ߏ • RoR (+ Vue.JS) + Go • Migration (Goose)
• Crawler (Go) • API (Go) • Web UI (RoR) • CI: CircleCI (v1)
ϒϥϯνͷӡ༻ • `master` ͕࠷৽҆ఆ൛ • GitHub ʹ tag Λ push
͢Δͱ ࠷৽൛Λ build • Releases ʹ ghr ͰόΠφϦΞοϓϩʔυ • RoR zip ͰΞοϓϩʔυ
Crawler ͷ build GitHub $ git push origin 1.0.0 CircleCI
CJOBSZ ᶃ push ᶄ CI ᶅ benchmark AWS S3 ᶇ upload ᶆ build
GitHub Ͱཧ͞ΕΔόΠφϦ
σϓϩΠํ๏ • ansible + rake • ࣮ߦλΠϛϯάίϚϯυ࣮ߦ • Ұੈલͷঢ়ଶ·Ͱอଘ •
stg ڥʹσϓϩΠ&&ςετޙ prod ڥ
Crawler ͷσϓϩΠ $ rake prod:deploy:crawler CJOBSZ ᶃ backup GitHub ᶄ
config ߋ৽ ᶅ binary DL ᶆ ࠶ىಈ ᶇ ىಈ௨
ͳͥ͜ͷํ๏ͳͷ͔ • ΤϯλʔϓϥΠζ൛ͷ͕೦಄ʹ • αʔόͷߏཧʹansibleΛ ࠾༻͍ͯ͠ΔӨڹ • capistrano Θͳ͍ͷ??? •
શࣗಈԽͰ͖ͳ͍ͷ???
σϓϩΠඋͷ݁Ռ • ໘ष͕͞ݮͬͨ • ͯ͘தʹσϓϩΠՄ
• master ͷςετΛύε͔ͯ͠Β tag ΛଧͭͷͰ 2 खؒ
ΜͰ͍Δͱ͜Ζ • ڥมઃఆϑΝΠϧͷཧ͕ ࡶʹͳ͍ͬͯΔ • αʔόߏཧͱσϓϩΠཧͷ ϦϙδτϦ͕1ͭͰ͙ͪΌ͙ͪΌ
·ͱΊ • σϓϩΠૣΊʹඋ͢Δͱ ؾָ͕ • ͍͜͠ͱߟ͑ͣʹखಈΛ ίϚϯυʹஔ͖͑Α͏