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
Androidアプリのリリースしてますか #potatotips
Search
FUJI Goro
August 20, 2014
Technology
6
2.2k
Androidアプリのリリースしてますか #potatotips
2014/8/20 potatotips 8 at Retty
FUJI Goro
August 20, 2014
Tweet
Share
More Decks by FUJI Goro
See All by FUJI Goro
How to Boost Your Code with WebAssembly
gfx
2
2.7k
AssemblyScriptでライブラリコードの高速化をしてみる
gfx
5
2.9k
実践TypeScriptトークバトル
gfx
1
1.1k
歴史的経緯の説明 as code
gfx
7
2.7k
Elasticsearchによる 全文検索の実装 in Rails
gfx
5
9.3k
すばらしきGraphQLのSEKAIへようこそ
gfx
20
9.2k
マルチテナント・ウェブアプリケーションの実践
gfx
14
9.4k
How to choose the ORM on Android
gfx
1
4.1k
How Do We Get Along With Static Types
gfx
5
3.3k
Other Decks in Technology
See All in Technology
CyberAgent 生成AI Deep Dive with Amazon Web Services / genai-aws
cyberagentdevelopers
PRO
1
480
事業者間調整の行間を読む 調整の具体事例
sugiim
0
1.3k
日経電子版におけるリアルタイムレコメンドシステム開発の事例紹介/nikkei-realtime-recommender-system
yng87
1
490
AIを駆使したゲーム開発戦略: 新設AI組織の取り組み / sge-ai-strategy
cyberagentdevelopers
PRO
1
130
AWSコンテナ本出版から3年経った今、もし改めて執筆し直すなら / If I revise our container book
iselegant
15
3.9k
【若手エンジニア応援LT会】AWS Security Hubの活用に苦労した話
kazushi_ohata
0
160
生成AIの強みと弱みを理解して、生成AIがもたらすパワーをプロダクトの価値へ繋げるために実践したこと / advance-ai-generating
cyberagentdevelopers
PRO
1
180
10分でわかるfreeeのQA
freee
1
3.4k
Commitment vs Harrisonism - Keynote for Scrum Niseko 2024
miholovesq
6
1.1k
マネジメント視点でのre:Invent参加 ~もしCEOがre:Inventに行ったら~
kojiasai
0
460
Nix入門パラダイム編
asa1984
2
200
Automated Promptingを目指すその前に / Before we can aim for Automated Prompting
rkaga
0
110
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Adopting Sorbet at Scale
ufuk
73
9k
Unsuck your backbone
ammeep
668
57k
Statistics for Hackers
jakevdp
796
220k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Rails Girls Zürich Keynote
gr2m
93
13k
How GitHub (no longer) Works
holman
311
140k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
GraphQLの誤解/rethinking-graphql
sonatard
66
9.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Transcript
AndroidΞϓϦ ϦϦʔεͯ͠·͔͢ Fuji, Goro (gfx) at Cookpad Inc. potatotips #8
2014/8/20 in Retty ‣ YES ‣ ͍
None
ࣗݾհ • ΫοΫύουͰϞόΠϧΤϯδχΞͬͯ·͢ • Android/iOSΞϓϦ։ൃͷੜ࢈ੑ㽉㽉Λ୲ • ࠷ۙͷ • Maven Centralͱܾผ͢ΔͨΊͷweb
serviceΛͭ͘Δʂ
ΞϓϦͷϦϦʔεͯ͠·͔͢ • ϦϦʔεΤϯδχΞϦϯά(releng)ͷλεΫෳࡶ • όʔδϣϯΛઃఆͯ͠ςετͯ͠Ϗϧυͯ͠apkʹ ॺ໊ͯ͠λάΛ͏ͬͯdeploygateʹ৴ͯ͠ google playʹΞοϓϩʔυͯ͠ߋ৽ใΛΞοϓ σʔτͯ͠ެ։ઃఆͯؔ͠ऀʹΞφϯεͯ͠ ެ։͞ΕͨΒGACrashlyticsΛோΊͯͯ͢
ͳͦ͞͏Ͱ͋ΕҰଉͭ͘
՝ɿrelengͷखॱ͕ෳࡶ͗͢Δ
λεΫΛղͯ͠ΈΔ • όʔδϣϯΛదͳͷʹઃఆ͢Δ • ࣗಈςετɾlintΛ࣮ߦ͢Δ • ΫϦʔϯϏϧυ͢Δ • ϦϦʔε༻ͷॺ໊ͷઃఆΛ͢ΔʢॳΊͯϦϦʔε͢Δͱ͖ͷΈʣ •
deploygate/testflightʹ৴͢Δ • Google PlayͰΞϓϦέʔγϣϯͷઃఆΛߦ͏ʢॳΊͯϦϦʔε͢Δͱ͖ͷΈʣ • Google Playʹupload͢Δ • Google Playͷߋ৽ใΛΞοϓσʔτ͢Δ • Google PlayͰެ։ͷઃఆΛ͢Δ • ࣾʹΞφϯε͢Δ • ϦϦʔεޙʹΫϥογϡΛࢹ͢Δ
relengλεΫଟ͗͢Δ݅ • λεΫ͕ଟ͍ͱԿ͔͕ൈ͚͕ͪʹͳΔ • ྫɿʮ͋ɺversion codeͷߋ৽ΛΕͨͷ ͰϏϧυ͠ͳ͓͠·͢ʯ • Կ͔ܦݧ͠ͳ͍ͱਖ਼͍͠खॱΛ౿Ή ͷ͕ෆՄೳ
ॺ໊ͷ • ॺ໊ͷઃఆΛbuild.gradleʹॻ͘ͷ͕μϧ͍ • keystoreϑΝΠϧΛΒ·͖ͨ͘ͳ͍͔Β JenkinsͰϦϦʔε༻apkΛ࡞ΔΑ͏ʹͯ͠ ͍Δ • ͦΕ͋ͬͯ͡ΊͯϦϦʔε͢Δͱ͖ʹ߹ ܭ10ߦ΄Ͳίϐϖ͠ͳ͍ͱ͍͚ͳ͍
Google PlayͷΞοϓϩʔυ • JenkinsͷϏϧυ݁Ռ͔ΒapkϑΝΠϧΛऔಘ • औಘͨ͠apkϑΝΠϧΛplayʹΞοϓϩʔυ • ख࡞ۀͳͷͰΘΓͱ໘͍͘͞
औΓΈ
ࣗಈԽ • όʔδϣχϯάͷ -> Jenkinsͷ BUILD_NUMBERΛ͔ͭ͏ • ॺ໊ͷ -> app-unsigned.apkʹ͋ͱ͔Βsign
͢Δ • Ξοϓϩʔυͷ -> Google Play Developer APIΛ͏
όʔδϣχϯάͷ • major.minor.patch.build ͷ4ύʔπ • ݱࡏͷAndroidΞϓϦ4.0.0.1 • build෦ΛJenkinsʹࣗಈͰৼΒͤΔ
ॺ໊ͷ • build.gradleʹॺ໊ઃఆ༻ίʔυΛίϐϖ͢Δͷ͕ͩͬͨ • ॺ໊ઃఆͤͣʹϏϧυͯ͋͠ͱͰॺ໊͢ΕղܾͰ͖Δͣ • $ jarsigner -verbose -sigalg
SHA1withRSA -digestalg SHA1 - keystore ~/.android/debug.keystore -storepass android ./ app/build/outputs/apk/app-product-release-unsigned.apk androiddebugkey • http://developer.android.com/tools/publishing/app-signing.html
Ξοϓϩʔυͷ • Google Play Developer APIΛ͏ • apkͷΞοϓϩʔυ • ެ։ઃఆʢalpha
/ beta / rollout / productionʣ • εΫϦʔϯγϣοτઆ໌จͳͲͷઃఆ • εΫγϣઆ໌จΛϦϙδτϦʹೖΕͯཧͰ͖Δͧʂ • ͍͔ͭ͘gradle plugin͕։ൃ͞Ε͍ͯΔʢະݕূʣ
ࣗಈԽͷঢ়گʢ✓ʣ • ✓ όʔδϣϯΛదͳͷʹઃఆ͢ΔʢJenkinsʣ • ✓ ࣗಈςετɾlintΛ࣮ߦ͢ΔʢJenkinsʣ • ✓ ΫϦʔϯϏϧυ͢ΔʢJenkinsʣ
• ✓ ϦϦʔε༻ͷॺ໊ͷઃఆΛ͢Δʢbuild.gradleΛฤू͠ͳͯ͘Α͍ʣ • ✓ deploygate/testflightʹ৴͢ΔʢJenkinsʣ • Google PlayͰΞϓϦέʔγϣϯͷઃఆΛߦ͏ʢॳΊͯϦϦʔε͢Δͱ͖ͷΈʣ • ✓ Google Playʹupload͢ΔʢGoogle Play Developer APIʣ • Google Playͷߋ৽ใΛΞοϓσʔτ͢Δ • Google PlayͰެ։ͷઃఆΛ͢Δ • ࣾʹΞφϯε͢Δ • ϦϦʔεޙʹΫϥογϡΛࢹ͢Δ
To be continued… • relengࣗಈԽͷՌ github.com/cookpad Ͱެ։͢Δ༧ఆͰ͢ • ଞͷࣗಈԽͰ͖ͯͳ͍ͱ͜ΖͲΜͲΜࣗಈ Խ͍͖͍ͯͨ͠
We are hiring @ Cookpad Inc. • iOS & Android
ΤϯδχΞืूத • https://info.cookpad.com/jobs/position/ios- android-app-engineer