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
Firebase関連をCIでデプロイするときのTips
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yamacraft
February 20, 2018
Technology
0
5k
Firebase関連をCIでデプロイするときのTips
2018/02/20(火)にクックパッドで開催したFirebase.yebisu #2にて発表したLTの資料です
yamacraft
February 20, 2018
Tweet
Share
More Decks by yamacraft
See All by yamacraft
なぜアプリのデザインとその実装はうまくいかないのか?
yamacraft
0
210
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3.1k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.4k
Quickstart-android/mlkitについて
yamacraft
2
4.8k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
720
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
960
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
弊社のアプリ開発CI環境
yamacraft
0
1.2k
Other Decks in Technology
See All in Technology
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
500
3分でわかる!新機能 AWS Transform custom
sato4mi
1
320
What happened to RubyGems and what can we learn?
mikemcquaid
0
200
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
300
開発メンバーが語るFindy Conferenceの裏側とこれから
sontixyou
2
500
Amazon ElastiCacheのコスト最適化を考える/Elasticache Cost Optimization
quiver
0
390
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
780
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
180
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
67k
(金融庁共催)第4回金融データ活用チャレンジ勉強会資料
takumimukaiyama
0
110
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
840
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Design in an AI World
tapps
0
140
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
720
How to Talk to Developers About Accessibility
jct
2
120
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Speed Design
sergeychernyshev
33
1.5k
Into the Great Unknown - MozCon
thekraken
40
2.2k
A Soul's Torment
seathinner
5
2.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Transcript
Firebaseؔ࿈ΛCIͰ σϓϩΠ͢Δͱ͖ͷTips @yamacraft
profile • @yamacraft (Wataru Yamada) • Mobile Application Engineer •
LeadingMark, inc • team Y.G.E.(private) • 27wins / BestTime 25min →
Try Wave https://try-wave.leadingmark.jp/
Try WaveͰར༻த • Hosting • Authentication • Realtime Database •
Cloud Functions • (FirebaseUI-webʴVue.js)
Ͳ͏ͬͯ σϓϩΠ͍ͯ͠Δ͔
CIͰࣗಈతʹ͍ͬͯ·͢
CircleCI2.0Ͱ σϓϩΠ͢ΔͨΊʹඞཁͳ Tips
ඇϩάΠϯͰFirebaseCLIΛ ͑ΔΑ͏ʹ͢Δ • ʮlogin:ciʯͰೝূ༻ͷtokenΛൃߦ͢Δ • ൃߦ͢ΔͱɺඇϩάΠϯͰʮ--token {token}ʯͰ֤ίϚϯυ ͕͑ΔΑ͏ʹͳΔ • tokenFirebaseϓϩδΣΫτͰͳ͘GoogleΞΧϯτʹඥ
͍ͨใͳͷͰҙʂ • tokenͷແޮԽʮlogout —token {token}ʯ • ൃߦͨ͠tokenͷҰཡΛΔํ๏…Βͳ͍
firebase deployʹ͍ͭͯ • firebase deployɺ1ͭͰσϓϩΠʹࣦഊ͢Δ ͱଞͷtargetͷσϓϩΠө͞Εͳ͘ͳΔ • hosting্ͰલͷσϓϩΠʹϩʔϧόοΫ͞ Ε͍ͯΔ •
ଞͷ݁Ռʹؔͳ࣮֬͘ʹdeploy͍ͤͨ͞߹ ɺ--only <targets>Ͱબͼ·͠ΐ͏
Alpine্Ͱfirebase-tools͕ ΠϯετʔϧͰ͖ͳ͍ʢղܾࡁʁʣ • firebase-toolsͰར༻͢Δgrpc͕Alpine༻ͷό ΠφϦΛΞοϓϩʔυ͍ͯ͠ͳ͍͜ͱ͕͋Δ • ιʔείϯύΠϧڥΛ༻ҙ͓͚ͯ͠ಈ͘ ͔ʢະݕূʣ • ݱࡏʢ3.17.4ʣͰͳ͘ಈ͕͘ɺΠϝʔ
δͰར༻͢Δͷආ͚ͨํ͕͍͍͔
͏ͪΐͬͱ͍Ζ͍Ζॻ͍ͯ·͢ 'JSFCBTFϓϩδΣΫτͷσϓϩΠʹ͍ͭͯ2JJUB IUUQTRJJUBDPNZBNBDSBGUJUFNT ECDDFCDC
͓͠·͍