Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Android CIをBitriseに移行して開発者・QAが幸せになったこと
Search
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
Transcript
17 slides
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
まだまだ改善・自動化していきたい
More Decks by Tadashi Nemoto
See All by Tadashi Nemoto
コンテナイメージの脆弱性を削減する新しいアプローチ:Hardened Container Images
tadashi0713
1
460
Best Practice CI/CD Pipeline for Deploying Container Apps to AWS
tadashi0713
0
320
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
210
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
320
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
380
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
440
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
690
デプロイ頻度を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.4k
Other Decks in Programming
See All in Programming
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
250
はじめてのKubernetesコントリビューション
nasa9084
0
330
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
500
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
360
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
protojson における文字化けの扱い
kazuki1023
0
470
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
Distance field of Julia set
kinakomoti321
0
330
Getting Started with Vibe Coding
miccheng
0
250
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
710
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
150
Featured
See All Featured
Scaling GitHub
holman
464
140k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
850
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690
The Curse of the Amulet
leimatthew05
4
17k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.5k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Everyday Curiosity
cassininazir
0
430