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
650
Other Decks in Programming
See All in Programming
推しの夫に恋のGPS「ときメーター」#M5Stack #IoT #M5JPTour2024
riyu
0
230
NEWTにおけるiOS18対応の進め方
ryu1sazae
0
210
"Swarming" をコンセプトに掲げるアジャイルチームのベストプラクティス
boykush
2
210
学生の時に開催したPerl入学式をきっかけにエンジニアが組織に馴染むために勉強会を主催や仲間と参加して職能間の境界を越えていく
ohmori_yusuke
1
120
Quarto Clean Theme
nicetak
0
220
dbt-ga4パッケージを実業務に導入してみた話
t_tokumaru_feedcorp
0
120
PHPを書く理由、PHPを書いていて良い理由 / Reasons to write PHP and why it is good to write PHP
seike460
PRO
5
360
Pydantic x Database API:turu-pyの開発
yassun7010
1
530
Compose Multiplatform과 Ktor로 플랫폼의 경계를 넘어보자
kwakeuijin
0
250
Kotlin Multiplatform at Stable and Beyond (Kotlin Vienna, October 2024)
zsmb
2
340
Infrastructure as Code でセキュリティを楽にしよう!
konokenj
6
1.4k
Vue :: Better Testing 2024
up1
1
380
Featured
See All Featured
The Invisible Customer
myddelton
119
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
44
2k
For a Future-Friendly Web
brad_frost
174
9.3k
Side Projects
sachag
452
42k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.7k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.5k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
Adopting Sorbet at Scale
ufuk
73
9k
Testing 201, or: Great Expectations
jmmastey
38
7k
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