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
Tadashi Nemoto
September 21, 2017
Programming
1
31k
Android CIをBitriseに移行して開発者・QAが幸せになったこと
Android Test Night #1
https://testnight.connpass.com/event/63753/
Tadashi Nemoto
September 21, 2017
Tweet
Share
More Decks by Tadashi Nemoto
See All by Tadashi Nemoto
Best Practice CI/CD Pipeline for Deploying Container Apps to AWS
tadashi0713
0
210
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
130
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
230
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
300
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
350
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
580
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.3k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4.1k
メルカリの開発スピードと品質を支える Selenium on Azure Kubernetes Service
tadashi0713
2
1.4k
Other Decks in Programming
See All in Programming
print("Hello, World")
eddie
2
530
請來的 AI Agent 同事們在寫程式時,怎麼用 pytest 去除各種幻想與盲點
keitheis
0
130
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
Cache Me If You Can
ryunen344
2
3.1k
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.9k
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
190
複雑なフォームに立ち向かう Next.js の技術選定
macchiitaka
2
220
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
3.3k
1から理解するWeb Push
dora1998
7
1.9k
Android端末で実現するオンデバイスLLM 2025
masayukisuda
1
170
testingを眺める
matumoto
1
140
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.3k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Automating Front-end Workflow
addyosmani
1370
200k
Thoughts on Productivity
jonyablonski
70
4.8k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Designing Experiences People Love
moore
142
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Statistics for Hackers
jakevdp
799
220k
Navigating Team Friction
lara
189
15k
Designing for Performance
lara
610
69k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
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
まだまだ改善・自動化していきたい