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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yuya Matsushima
July 18, 2017
Programming
650
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deploy using GitHub Releases
github のリリースを使った Golang + Ruby on Rails アプリのデプロイについて
Yuya Matsushima
July 18, 2017
More Decks by Yuya Matsushima
See All by Yuya Matsushima
CMS アーキテクチャ
yterajima
0
370
Other Decks in Programming
See All in Programming
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
100
Lessons from Spec-Driven Development
simas
PRO
0
200
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
JavaDoc 再入門
nagise
1
350
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
dRuby over BLE
makicamel
2
340
Creating Composable Callables in Contemporary C++
rollbear
0
130
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
330
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
190
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.7k
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
6k
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
2k
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Being A Developer After 40
akosma
91
590k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
So, you think you're a good person
axbom
PRO
2
2.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Deep Space Network (abreviated)
tonyrice
0
170
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
310
How to make the Groovebox
asonas
2
2.2k
Design in an AI World
tapps
1
240
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ͭͰ͙ͪΌ͙ͪΌ
·ͱΊ • σϓϩΠૣΊʹඋ͢Δͱ ؾָ͕ • ͍͜͠ͱߟ͑ͣʹखಈΛ ίϚϯυʹஔ͖͑Α͏