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
OpenSTFとJenkinsで 社内のAndroid端末を有効活用する
Search
Young
May 23, 2018
Technology
0
270
OpenSTFとJenkinsで 社内のAndroid端末を有効活用する
社内勉強会の資料です
#深いい勉強会
Young
May 23, 2018
Tweet
Share
More Decks by Young
See All by Young
GitbookからOpenApiへのAPIドキュメント移行
akihitookada
0
81
Navigation ComponentとFluxをnanaに導入した
akihitookada
0
83
Androidアプリにおけるモジュラライズの進め方
akihitookada
0
200
MotionLayoutを使ってクリスマスなアプリを作った
akihitookada
0
110
OrmaからRoomに移行する 2nd Season
akihitookada
1
650
ミャンマーのすゝめ
akihitookada
2
88
Android版 nanaとデータの永続化とDatabase
akihitookada
2
190
Android Team @ nana music, Inc.
akihitookada
0
89
ConstraintLayoutを理解する
akihitookada
0
100
Other Decks in Technology
See All in Technology
静的解析で実現した効率的なi18n対応の仕組みづくり
minako__ph
1
130
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
400
ノーコードデータ分析ツールで体験する時系列データ分析超入門
negi111111
0
430
Chasing the White Whale of Open Source - ROI
mrbobbytables
0
100
心が動くエンジニアリング ── 私が夢中になる理由
16bitidol
0
110
"とにかくやってみる"で始めるAWS Security Hub
maimyyym
2
100
SDN の Hype Cycle を一通り経験してみて思うこと / Going through the Hype Cycle of SDN
mshindo
1
160
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
780
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
2
630
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
150
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
140
Featured
See All Featured
Optimizing for Happiness
mojombo
376
70k
A Philosophy of Restraint
colly
203
16k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Producing Creativity
orderedlist
PRO
341
39k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
120
Transcript
OpenSTFͱJenkinsͰ ࣾͷAndroidΛ༗ޮ׆༻͢Δ
OpenSTFͱ Cyber Agentͷࣾһ͕࡞͍ͬͯΔOSSͷσόΠεϑΝʔ Ϝ
OpenSTFͷ͍͢͝ͱ͜Ζ OSS Λϒϥβ͔ΒϦϞʔτͰૢ࡞Ͱ͖Δ ିग़தͷεςʔλεΛཧͰ͖Δ Wi−fiܦ༝ͰADBଓΛͯ͠Debug͕Ͱ͖Δ ADBଓΛϦϞʔτͰ࣮ߦ͢ΔͨΊͷAPI͕Έࠐ·Ε ͍ͯΔ
OpenSTFͷ͍ॴ ࣾͷۭ͖ͷ༗ޮ׆༻ ϒϥβ͔Β୭Ͱ؆୯ʹར༻Ͱ͖ΔΑ͏ʹ͍ͨ͠ ؒͳͲࣗಈςετΛΒ͍ͤͨ
OpenSTFͷΠϯετʔϧ ڥ macOS High Sierra VirtualBox Ubuntu Docker OpenSTF Adb
Server https:/ /github.com/akihito-okada/open-stf/blob/ master/ubuntu/docker-compose.yaml
OpenSTFΠϯετʔϧ࣌ͷτϥϒϧ VagrantCoreOsΛͬͨߏͰΠϯετʔϧͰ͖ͳ͍ DockerΛ͏͜ͱͰղܾ DeiceͷΩϟϓνϟ͕ෆ҆ఆ DockerͰOpenSTFͷPortΛௐ͢Δ͜ͱͰղܾ
OpenSTFΠϯετʔϧ࣌ͷτϥϒϧ Mac -> Docker - OpenSTFͷߏͩͱAdb͕҆ఆ͠ͳ͍ Mac -> VirtualBox ->
Ubuntu -> Docker - OpenSTFͷߏʹ͢Δ͜ͱͰղܾ OpenSTFʹ֎͔ΒΞΫηεͰ͖ͳ͍ docker-compose.yamlΛௐͨ͠Βղܾ
JenkinsͷΠϯετʔϧ ڥ macOS High Sierra Jenkins
JenkinsͷΠϯετʔϧ࣌ͷτϥϒϧ UbuntuʹΠϯετʔϧͨ͠ΒɺUbuntuଆʹ Android sdk͕ඞཁʹͳΔ Mac্ʹॏෳͯ͠ϑΝΠϧ͕Ͱ͖ͯσΟεΫΛ৯͏ MacʹΠϯετʔϧ͢ΕɺϦιʔεΛγΣΞͰ͖ͯ ղܾ
JenkinsͰͷϏϧυ connect_devices.sh // ར༻Մೳͳʹଓ /* ϏϧυɺΠϯετʔϧޙʹɺଓதͷશʹରͯ͠ςετΛߦ͏*/ ./gradlew clean :app:assembleDevelopmentDebug installDevelopmentDebug
connectedDevelopmentDebugAndroidTest Build script Post build script disconnect_devices.sh // ଓ͍ͯͨ͠ΛϦϦʔε
scriptͷৄࡉ https:/ /github.com/akihito-okada/open-stf/ blob/master/api/connect_devices.sh https:/ /github.com/akihito-okada/open-stf/ blob/master/api/disconnect_devices.sh
Demo
ࠓޙ ϩάΠϯɾϩάΞτͷΫϦςΟΧϧ͚ͩͲఆܕతͳς ετΛDailyͰ·Θ͍ͨ͠ Espressoͷςετ݁ՌΛϨϙʔτͯ͠ɺேձͰνΣοΫ ͍ͨ͠