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
170
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
100
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
200
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
270
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
310
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
530
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.1k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
3.9k
メルカリの開発スピードと品質を支える Selenium on Azure Kubernetes Service
tadashi0713
2
1.3k
Other Decks in Programming
See All in Programming
AIプログラミング雑キャッチアップ
yuheinakasaka
20
5.3k
The Price of Micro Frontends… and Your Alternatives @bastacon 2025 in Frankfurt
manfredsteyer
PRO
0
170
Domain-Driven Design (Tutorial)
hschwentner
13
22k
ソフトウェアエンジニアの成長
masuda220
PRO
12
2.2k
SwiftUI Viewの責務分離
elmetal
PRO
2
280
⚪⚪の⚪⚪をSwiftUIで再現す る
u503
0
130
ABEMA iOS 大規模プロジェクトにおける段階的な技術刷新 / ABEMA iOS Technology Upgrade
akkyie
1
260
Jasprが凄い話
hyshu
0
190
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
260
DevNexus - Create AI Infused Java Apps with LangChain4j
kdubois
0
140
Rubyと自由とAIと
yotii23
6
1.9k
未経験でSRE、はじめました! 組織を支える役割と軌跡
curekoshimizu
1
210
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
440
Faster Mobile Websites
deanohume
306
31k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Bash Introduction
62gerente
611
210k
Automating Front-end Workflow
addyosmani
1369
200k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
The Invisible Side of Design
smashingmag
299
50k
How GitHub (no longer) Works
holman
314
140k
4 Signs Your Business is Dying
shpigford
183
22k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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
まだまだ改善・自動化していきたい