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
200
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
2.3k
qron: Cloud Native Cron Alternativeの今
aereal
2
2.1k
自動作曲入門 / 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.4k
Other Decks in Programming
See All in Programming
as(型アサーション)を書く前にできること
marokanatani
10
2.7k
Jakarta EE meets AI
ivargrimstad
0
650
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
CSC509 Lecture 12
javiergs
PRO
0
160
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
480
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.7k
Jakarta EE meets AI
ivargrimstad
0
200
CSC509 Lecture 11
javiergs
PRO
0
180
Realtime API 入門
riofujimon
0
150
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
96
Agile that works and the tools we love
rasmusluckow
327
21k
How GitHub (no longer) Works
holman
310
140k
Side Projects
sachag
452
42k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Navigating Team Friction
lara
183
14k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Optimizing for Happiness
mojombo
376
70k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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