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
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
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
AI時代の認知負荷との向き合い方
optfit
0
150
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
160
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
Architectural Extensions
denyspoltorak
0
270
今から始めるClaude Code超入門
448jp
7
8.4k
Vibe codingでおすすめの言語と開発手法
uyuki234
0
220
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
AI巻き込み型コードレビューのススメ
nealle
0
120
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Featured
See All Featured
Navigating Team Friction
lara
192
16k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
Scaling GitHub
holman
464
140k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
640
Automating Front-end Workflow
addyosmani
1371
200k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
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ͭͰ͙ͪΌ͙ͪΌ
·ͱΊ • σϓϩΠૣΊʹඋ͢Δͱ ؾָ͕ • ͍͜͠ͱߟ͑ͣʹखಈΛ ίϚϯυʹஔ͖͑Α͏