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
3.7k
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
240
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
3.2k
qron: Cloud Native Cron Alternativeの今
aereal
2
2.3k
自動作曲入門 / 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
18k
Other Decks in Programming
See All in Programming
仕様変更に耐えるための"今の"DRY原則を考える / Rethinking the "Don't repeat yourself" for resilience to specification changes
mkmk884
0
200
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
2
260
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
230
ファインディの テックブログ爆誕までの軌跡
starfish719
2
1.1k
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
120
Amazon Q Developer Proで効率化するAPI開発入門
seike460
PRO
0
110
Introduction to kotlinx.rpc
arawn
0
700
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
120
動作確認やテストで漏れがちな観点3選
starfish719
6
1k
GAEログのコスト削減
mot_techtalk
0
120
Amazon Bedrock Multi Agentsを試してきた
tm2
1
290
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
130
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
174
51k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Designing for humans not robots
tammielis
250
25k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Docker and Python
trallard
44
3.3k
For a Future-Friendly Web
brad_frost
176
9.5k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Faster Mobile Websites
deanohume
306
31k
Done Done
chrislema
182
16k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Practical Orchestrator
shlominoach
186
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
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