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
deliverbot のススメ / deliverbot at Sansan
Search
Yasuo Nakagawa
March 05, 2019
Programming
0
1.3k
deliverbot のススメ / deliverbot at Sansan
deliverbot のススメ
【増枠】Mobile Engineer Meetup by Sansan
https://sansan.connpass.com/event/121319/
Yasuo Nakagawa
March 05, 2019
Tweet
Share
More Decks by Yasuo Nakagawa
See All by Yasuo Nakagawa
Task Force ~ 20 percent time@Sansan ~
ynakagawa33
0
660
Other Decks in Programming
See All in Programming
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
6
1.6k
受け取る人から提供する人になるということ
little_rubyist
0
250
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
110
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
310
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
210
Vapor Revolution
kazupon
1
180
RubyLSPのマルチバイト文字対応
notfounds
0
120
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
340
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
Outline View in SwiftUI
1024jp
1
340
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
What's new in Ruby 2.0
geeforr
343
31k
BBQ
matthewcrist
85
9.3k
Building Your Own Lightsaber
phodgson
103
6.1k
Typedesign – Prime Four
hannesfritz
40
2.4k
A Modern Web Designer's Workflow
chriscoyier
693
190k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Code Review Best Practice
trishagee
64
17k
How to Ace a Technical Interview
jacobian
276
23k
RailsConf 2023
tenderlove
29
900
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
deliverbot ͷεεϝ Sansan ࣄۀ෦ ϓϩμΫτ։ൃ෦ த ହ
ࣗݾհ • GitHub: @ynakagawa33 • iOS ΞϓϦΤϯδχΞ • ࡞Δ͜ͱ͕͖ •
Ԟͷ ErgoDash िळ༿ʹ௨͍ ͭͭɺ࠷ۙͤ͞·ͨ͠
11/07 ͷ CI/CD Test Night ʹߦͬͨਓʔʁ
ຊ LT ؛͞Μ͔Βհͷ͋ͬͨ deliverbot ʹ͍ͭͯ
Sansan Ͱͷ՝
ա͗ΔϦϦʔεखॱॻ
ϦϦʔεʹର͢Δҹ
ͳΜͱ͔ͤͶ
deliverbot Λಋೖ͠Α ͏
deliverbot ͕ସͯ͘͠Εͨखॱ • Target ͝ͱͷόʔδϣϯ൪߸ߋ৽ • ϦϦʔεରͷมߋ֬ೝ༻ͷ PR ࡞ •
Bitrise ͰϦϦʔεϏϧυ༻ͷϫʔΫϑϩʔΛ࣮ߦ͢Δ • ϦϦʔεϏϧυͷՌΛμϯϩʔυ͢Δ • Application Loader Ͱμϯϩʔυͨ͠ ipa Λ App Store Ξοϓϩʔυ͢Δ
Target ͝ͱͷόʔ δϣϯ൪߸ߋ৽ ࠓ·Ͱ • ΞϓϦຊମͱ Call Directory Extension ͷ྆ํͷ
Info.plist Λߋ৽ ͢ΔίϛοτΛੵΜͰͨ
Target ͝ͱͷόʔ δϣϯ൪߸ߋ৽ ͜Ε͔Β • deliverbot ʹࢦఆͨ͠όʔδϣϯʹ ߋ৽ͯ͘͠ΕΔ
ϦϦʔεରͷมߋ֬ ೝ༻ͷ PR ࡞ ࠓ·Ͱ • PR Λ࡞Βͣɺ Slack Ͱมߋ֬ೝґཔ
͍ͯͯ͠ɺϦϦʔεͷ࡞ۀ͕ Slack ʹ ͔ͬͯ͠ͳ͔ͬͨ • ҰԠɺḪΕɺݟ͚ͭΔ͜ͱग़ དྷΔ͕ɺաڈͷܦҢΛݟ͚ͭΔͷ ͕େม
ϦϦʔεରͷมߋ֬ ೝ༻ͷ PR ࡞ ͜Ε͔Β • deliverbot ͕దͳϑΥʔϚοτͰ PR Λ࡞ͬͯ͘ΕΔ
• BOT ͕ࣗಈͰ࡞Δ͔Βɺ୭͕ͬ ͍͍ͯͷͰɺνʔϜͰۀ͕ग़ དྷΔ
Bitrise ͰϦϦʔεϏ ϧυ༻ͷϫʔΫϑϩʔ Λ࣮ߦ͢Δ ࠓ·Ͱ • Bitrise ʹϩάΠϯ • ΞϓϦΛબ͢Δ
• Start/Schedule a Build • ϦϦʔεϒϥϯνΛࢦఆ͢Δ • ϫʔΫϑϩʔΛબ͢Δ
Bitrise ͰϦϦʔεϏ ϧυ༻ͷϫʔΫϑϩʔ Λ࣮ߦ͢Δ ͜Ε͔Β • deliverbot ͕ PR Λ࡞ͬͨΒɺࣗಈͰ
ϦϦʔεϏϧυ༻ͷϫʔΫϑϩʔ͕ τϦΨʔ͞ΕΔ
ՌΛμϯϩʔυ & ετΞΞοϓϩʔ υ ࠓ·Ͱ • Bitrise ͔Β Slack ௨͞ΕΔϏϧ
υޭͷ௨͔ΒϏϧυϖʔδʹඈ Ϳ • APPS ˍ ARTIFACTS ͔Β ipa Λμ ϯϩʔυ͢Δ • Application Loader Ͱμϯϩʔυ
ՌΛμϯϩʔυ & ετΞΞοϓϩʔ υ ͜Ε͔Β • deliverbot ͕τϦΨʔͨ͠ϫʔΫϑ ϩʔͰετΞͷΞοϓϩʔυ·Ͱ ߦ͏
deliverbot Λಋೖ͢Δ ࡍʹࠔͬͨ͜ͱ
deliverbot Λಋೖ͢Δࡍʹࠔͬͨ͜ ͱ • ઃఆϑΝΠϧ͔ΒઃఆՄೳͳόʔδϣϯઃఆϑΝΠϧΛݻఆ Ͱ্ॻ͖͍ͯͨ͠ • deliverbot ͰࢦఆͰ͖Δϒϥϯνʹ /
͕ೖͬͨϒϥϯν͕ग़ ͯ͜ͳ͍ • ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ͞ΕͯΔ
ઃఆϑΝΠϧ͔ΒઃఆՄೳͳ όʔδϣϯઃఆϑΝΠϧΛݻ ఆͰ্ॻ͖͍ͯͨ͠ ݪҼ https://github.com/kishikawakatsumi/ deliverbot/blob/master/main.go#L39- L40
ઃఆϑΝΠϧ͔ΒઃఆՄೳͳ όʔδϣϯઃఆϑΝΠϧΛݻ ఆͰ্ॻ͖͍ͯͨ͠ ରԠ • ࢦఆ͞Ε͍ͯΔύεʹҧײ͕ͳ ͔ͬͨͷͰɺͪ͜ΒଆͷઃఆϑΝΠ ϧΛࢦఆ͞Ε͍ͯΔͷʹدͤͨ
deliverbot ͰࢦఆͰ͖Δϒ ϥϯνʹ / ͕ೖͬͨϒϥϯν ͕ग़ͯ͜ͳ͍ ݪҼ https://github.com/kishikawakatsumi/ deliverbot/blob/master/github.go#L72
deliverbot ͰࢦఆͰ͖Δϒ ϥϯνʹ / ͕ೖͬͨϒϥϯν ͕ग़ͯ͜ͳ͍ ରԠ • ग़ͯ͘Εͳ͍ͱӡ༻ʹΒͳ͔͍ͷ Ͱɺ
fork • मਖ਼ͷίϛοτΛੵΜͩ • https://github.com/ ynakagawa33/deliverbot/commit/ 4700c06d49eb6d5598dc0c6e30 8bf42fd3e41047
ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ
͞ΕͯΔ ݪҼ https://github.com/kishikawakatsumi/ deliverbot/blob/master/ interaction.go#L424-L449
ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ
͞ΕͯΔ ରԠ • ༗ޮʹ͢ΔίϛοτΛ fork ͨ͠Ϧϙ δτϦʹੵΜͩ • https://github.com/ ynakagawa33/deliverbot/commit/ c30d0092619c4aac189e57208cd dcd40aed72d30
࠷ޙʹ • ࠓճͷ࡞ۀϩά Qrunch ʹͯ͋͠ΔͷͰɺࢀߟʹͲ͏ͧ ! • https://ynakagawa33.qrunch.io//logs/ yNpdde4yD2rD4Ogc