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
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
300
php-conference-japan-2024
tasuku43
0
360
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
280
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
3
490
ドメインイベント増えすぎ問題
h0r15h0
2
420
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
260
バグを見つけた?それAppleに直してもらおう!
uetyo
0
180
fs2-io を試してたらバグを見つけて直した話
chencmd
0
240
useSyncExternalStoreを使いまくる
ssssota
6
1.4k
情報漏洩させないための設計
kubotak
4
820
暇に任せてProxmoxコンソール 作ってみました
karugamo
2
730
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
140
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
A better future with KSS
kneath
238
17k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
RailsConf 2023
tenderlove
29
940
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The Language of Interfaces
destraynor
154
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
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