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
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
3k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.3k
Quickstart-android/mlkitについて
yamacraft
2
4.7k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.6k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
710
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
930
社内用アプリでFirebaseを使っている話
yamacraft
2
2k
弊社のアプリ開発CI環境
yamacraft
0
1.2k
Other Decks in Technology
See All in Technology
CNCFの視点で捉えるPlatform Engineering - 最新動向と展望 / Platform Engineering from the CNCF Perspective
hhiroshell
0
140
Linux カーネルが支えるコンテナの仕組み / LF Japan Community Days 2025 Osaka
tenforward
1
120
スタートアップの現場で実践しているテストマネジメント #jasst_kyushu
makky_tyuyan
0
130
様々なファイルシステム
sat
PRO
0
240
serverless team topology
_kensh
3
230
現場データから見える、開発生産性の変化コード生成AI導入・運用のリアル〜 / Changes in Development Productivity and Operational Challenges Following the Introduction of Code Generation AI
nttcom
1
470
事業開発におけるDify活用事例
kentarofujii
5
1.4k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
13
82k
IoTLT@ストラタシスジャパン_20251021
norioikedo
0
130
Azure Well-Architected Framework入門
tomokusaba
1
120
AWS UG Grantでグローバル20名に選出されてre:Inventに行く話と、マルチクラウドセキュリティの教科書を執筆した話 / The Story of Being Selected for the AWS UG Grant to Attending re:Invent, and Writing a Multi-Cloud Security Textbook
yuj1osm
1
130
AI機能プロジェクト炎上の 3つのしくじりと学び
nakawai
0
100
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Facilitating Awesome Meetings
lara
57
6.6k
Thoughts on Productivity
jonyablonski
70
4.9k
YesSQL, Process and Tooling at Scale
rocio
173
15k
BBQ
matthewcrist
89
9.9k
A designer walks into a library…
pauljervisheath
209
24k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
A Tale of Four Properties
chriscoyier
161
23k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6k
RailsConf 2023
tenderlove
30
1.3k
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
͓͠·͍