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
Build CI for Smartphone apps dev. at Hatena
Search
aereal
April 13, 2015
Programming
0
26k
Build CI for Smartphone apps dev. at Hatena
http://hatena.connpass.com/event/13645/
aereal
April 13, 2015
Tweet
Share
More Decks by aereal
See All by aereal
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
5.3k
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
290
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
4.3k
qron: Cloud Native Cron Alternativeの今
aereal
2
2.9k
自動作曲入門 / introduction to programatic music composition
aereal
1
530k
はてなブログ タグとCDK / The epic of AWS CDK and Hatena Blog Tag
aereal
2
200k
はてなブログ タグの技術選択 / The technical details of Hatena Blog Tag
aereal
3
200k
ブログサービスのHTTPS化を支えたAWSで作るピタゴラスイッチ / The construction of large scale TLS certificates management system with AWS
aereal
3
400k
AWSではてなブログの常時HTTPS配信をバーンとやる話 / The Epic of migration from HTTP to HTTPS on Hatena Blog with AWS
aereal
14
18k
Other Decks in Programming
See All in Programming
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
160
クラシルを支える技術と組織
rakutek
0
190
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
480
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
0
360
iOSアプリの信頼性を向上させる取り組み/ios-app-improve-reliability
shino8rayu9
0
140
実践AIチャットボットUI実装入門
syumai
7
2.4k
ИИ-Агенты в каждый дом – Алексей Порядин, PythoNN
sobolevn
0
150
私はどうやって技術力を上げたのか
yusukebe
43
17k
議事録の要点整理を自動化! サーバレス Bot 構築術
penpeen
3
1.6k
CSC305 Lecture 03
javiergs
PRO
0
230
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1k
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
160
Featured
See All Featured
For a Future-Friendly Web
brad_frost
180
9.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
KATA
mclloyd
32
14k
The Straight Up "How To Draw Better" Workshop
denniskardys
237
140k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Raft: Consensus for Rubyists
vanstee
139
7.1k
Scaling GitHub
holman
463
140k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Transcript
εϚʔτϑΥϯΞϓϦͷҝ ͷCIαʔόߏஙͱӡ༻ id:aereal
ΞδΣϯμ w CI ͷׂͱҙٛ w ͯͳͷεϚʔτϑΥϯΞϓϦ։ൃͱCI • OS X Server͋
w Infrastructure as CodeΛࢦ͢
ࣗݾհ id:aereal Twitter: aereal GitHub: aereal ΞϓϦέʔγϣϯΤϯδχΞ
ͯͳͷεϚʔτϑΥϯΞϓϦ ։ൃۙگ
None
ͳͥCI͕ඞཁ͔
CI = Continuous Integration
౷߹ Integration w Ұ࿈ͷϓϩηεΛ౷߹͢Δ w e.g.ϏϧυˠςετˠΧόϨοδܭଌˠ w ʮνʔϜʹ։ൃϏϧυΛΔͷΛΕ͍ͯͨʯ w ʮϏϧυ৬ਓʯͷഉআ
ܧଓత Continuous w ʮͬͨΓɺΒͳ͔ͬͨΓʯ w git pushͨ͠Β౷߹͕࢝·Δ w ϓϩηε͕ͦͷ࣌ʑͰมΘΒͳ͍
ͯͳͷ εϚʔτϑΥϯΞϓϦ։ൃͱCI
͜Ε·Ͱ • Jenkins on MacBook w ʮJenkins͕ಈ͍͍ͯΔͷͰ֖Λด͡ͳ͍Ͱʯ w ӡ༻ͷݟͱ༨༟͕ͳ͔ͬͨ w
։ൃͷن
ݱࡏ • Jenkins on Mac mini w/OS X Server w
ςετ w Ϗϧυͱ w J5VOFT$POOFDUͷΞοϓϩʔυ
OS X Server
w جຊOS X w iOS Developer Programʹೖ͍ͬͯΔͱແྉ w MackerelͰࢹ w
IUUQTNBDLFSFMJP
w OS X Ͱ͑ΔίϚϯυ͕ී௨ʹ͑Δ • softwareupdate(8) • defaults(1) • launchctl(1)
• http://developer.hatenastaff.com/entry/ hatena-engineer-advent-calendar-01-ansible
ͳͥࣗલͰӡ༻͢Δͷ͔ w GitHub Enterpriseͱͷ౷߹ w Ϗϧυπʔϧͷόʔδϣϯ • Xcode
ࣗલor SaaS w Մ༻ੑorίετ w ΫϦςΟΧϧͰͳ͍ͱ͜Ζ͔Β • εΫϦʔϯγϣοτͷ࡞ • σϓϩΠ
w ηΩϡϦςΟϙϦγʔ
Ansibleͱ Infrastructure as Code
Ansibleͱ Infrastructure as Code
IUUQXXXBOTJCMFDPNIPNF l"OTJCMFJTUIFTJNQMFTUXBZUPBVUPNBUFz
ΞϓϦέʔγϣϯͷ։ൃڥΛ AnsibleͰͭ͘Δ IUUQEFWFMPQFSIBUFOBTUB⒎DPNFOUSZIBUFOBFOHJOFFSBEWFOU DBMFOEBSBOTJCMF
Ansibleͱ Infrastructure as Code
Infrastructure as Code w ϗετͷઃఆߏΛίʔυͰදݱ͢Δ w ࣮ߦՄೳʹ w ςετՄೳʹ
No moreےྗӡ༻ w CIΛಈ͔͢͜ͱࣗମ͕తͰͳ͍ w CIͷԸܙΛ׆͔͠Ձ͋ΔϓϩμΫτΛ࡞Δࣄ͕ త w ςετՄೳͳํ๏ΛબͿ
ڞ௨ݴޠͱͯ͠ͷίʔυ w ʮ͍͟ͱͳΕಡΊΘ͔Δʯ w ϝϯςφϯε͢ΔϞνϕʔγϣϯ
ࣗಈԽͷਐΊํ w Կ܁Γฦͯ͠Δ͜ͱ͔Β࢝ΊΔ w e.g. launchd༻plistΛίϐʔ͢Δ w จॻԽͰ͢·ͤΔ͜ͱΛݕ౼ͯ͠Α͍ w e.g.͘͝୯७Ͱճ͖Γͷ࡞ۀ
·ͱΊ w ࣭Λ୲อ͠ૉૣ͘ϓϩμΫτΛ࡞ΔͨΊʹ$*Λॏ ༻͍ͯ͠·͢ w ྗٕͷߏஙɾӡ༻ʹͳΒͳ͍Α͏ʹ*OGSBTUSVDUVSF BT$PEFΛ৺ֻ͚͍ͯ·͢
ࢀߟ • http://www.apple.com/jp/osx/server/ • https://mackerel.io/ • http://developer.hatenastaff.com/entry/hatena- engineer-advent-calendar-01-ansible • http://www.ansible.com/home