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 CIをBitriseに移行して開発者・QAが幸せになったこと
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tadashi Nemoto
September 21, 2017
Programming
32k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android CIをBitriseに移行して開発者・QAが幸せになったこと
Android Test Night #1
https://testnight.connpass.com/event/63753/
Tadashi Nemoto
September 21, 2017
More Decks by Tadashi Nemoto
See All by Tadashi Nemoto
コンテナイメージの脆弱性を削減する新しいアプローチ:Hardened Container Images
tadashi0713
1
350
Best Practice CI/CD Pipeline for Deploying Container Apps to AWS
tadashi0713
0
300
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
180
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
290
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
350
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
410
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
650
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.6k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4.3k
Other Decks in Programming
See All in Programming
プロポーザルを書いてもらう
pvcresin
0
250
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
230
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.3k
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
240
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
18k
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
140
『コードを書く以外の』エンジニアリング〜課金基盤移行プロジェクト推進のためのTips4選
yuriko1211
0
580
その節約、円になってますか?
isamumumu
1
690
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
160
VibeCodingからAgenticWorkflowへ
starfish719
0
280
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
440
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
540
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
660
Measuring & Analyzing Core Web Vitals
bluesmoon
9
950
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Embracing the Ebb and Flow
colly
88
5.1k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
Writing Fast Ruby
sferik
630
63k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Amusing Abliteration
ianozsvald
1
240
A better future with KSS
kneath
240
18k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
430
Tell your own story through comics
letsgokoyo
1
1k
Transcript
2017/09/21 Android Test Night #1 Tadashi Nemoto Android CIをBitriseに移行して開発者・QAが 幸せになったこと
自己紹介 • 根本 征 (github: tadashi0713) • Software Engineer in
Test @mercari • モバイルアプリ・WEBアプリをぶり ぶり自動化
QA-SETチーム http://tech.mercari.com/entry/2017/08/18/100138
JP版 AndroidアプリのCIを Bitriseに移行した話
移行前のCI環境 • Circle CI • PR毎のビルド & テスト • Dev版
DeployGateの配布 • QAはDeployGateで配布されたものを 使って検証 • リリースビルド & Google Playへのアッ プロードは手元で行われていた
手作業による エンジニアコスト・ミスを防ぎたい リリース版ビルド & Play StoreのアップロードをCI で自動化しよう
Bitriseとは • モバイルアプリ向けCIサービス • GUIで簡単にWorkflowを作成できる • 他サービスとのIntegrationが簡単・充実 • 社内別アプリでの利用実績あり(結構重要)
Step google play deploy
初めてでもGoogle Playへのデプロイまで簡単作成 • 開発者がtagを付ける or Slackコマンドを叩くだけでリ リースビルド・Google Playへのデプロイまで自動で行わ れる •
開発者・QA共に手動で行うよりも安心感が持てる • Workflow上でDeployGateにもアップロードしているの で、リリース前に簡単にリリース版が手に入る
E2Eテストとの連携が楽になった
リリース前にAppiumを使ってE2Eテスト実行 master slave
DeployGateから直接apkを取ってくるのが難しい 基本Upload・社内配布するためのサービス 特定のバージョンのapkをダウンロードするAPIがない DeployGateのページで手動でDLしてテストを実行させていた
同時にapkをGoogle Cloud Storageに上げる DeployGateに アップロード with message $BITRISE_BUILD_NUMBER GCSに アップロード
簡単にapkのダウンロード・テスト実行が可能に DeployGateを見てBitriseのBuild Numberを Jenkins Jobのパラメーターで指定すればOK QA(非プログラマー)でも簡単・頻繁にテスト実行が可能に DL
Integration 他にも https://www.bitrise.io/integrations Open STF Connect 簡単にBitriseからOpen STF に接続・実機でInstrument Testなどを行うことができる
Create JIRA Comment with Build Bitriseからビルド番号・ダウン ロードリンクなどをJIRAにコメ ント投稿できる
Open STF を使って実機でInstrument Test http://techlife.cookpad.com/entry/2016/08/15/200000
まだまだ改善・自動化していきたい