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
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
170
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
2k
qron: Cloud Native Cron Alternativeの今
aereal
2
1.8k
自動作曲入門 / introduction to programatic music composition
aereal
1
530k
はてなブログ タグとCDK / The epic of AWS CDK and Hatena Blog Tag
aereal
3
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
17k
ScalaとPerlでMicroservices in production / Building microservices with Perl and Scala in production
aereal
0
5.3k
Other Decks in Programming
See All in Programming
iOSの隠されたAPIを解明し、開発効率を向上させる方法/iOSDC24
noppefoxwolf
2
120
(非公開スライド追加)座談会 「Strict ConcurrencyとSwift 6が開く新時代: 私たちはどう生きるか?」
shiz
1
140
メモリ最適化を究める!iOSアプリ開発における5つの重要なポイント
yhirakawa333
0
370
Ruby Parser progress report 2024
yui_knk
2
180
現代のVueとTypeScript - 型安全の活用術
minako__ph
4
3.1k
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
210
TypeScriptで 負荷テストを書こう 〜k6のシングルバイナリの秘密〜
dora1998
7
2.8k
Meet BrowserEngineKit
swiftty
0
190
The Future of Frontend i18n : Intl.MessageFormat
sajikix
1
2.4k
Go Code Generation at newmo / 2024-08-27 #newmo_layerx_go
genkey6
0
510
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
340
ECMAScript仕様を読むのに必要な知識 - ダイジェスト版
syumai
4
2.5k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
179
21k
Stop Working from a Prison Cell
hatefulcrawdad
266
20k
Raft: Consensus for Rubyists
vanstee
135
6.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
662
120k
Code Review Best Practice
trishagee
62
16k
Pencils Down: Stop Designing & Start Developing
hursman
118
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
How To Stay Up To Date on Web Technology
chriscoyier
785
250k
Optimising Largest Contentful Paint
csswizardry
28
2.7k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
How to Ace a Technical Interview
jacobian
275
23k
How GitHub (no longer) Works
holman
309
140k
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