Slide 1

Slide 1 text

εϚʔτϑΥϯΞϓϦͷҝ ͷCIαʔόߏஙͱӡ༻ id:aereal

Slide 2

Slide 2 text

ΞδΣϯμ w CI ͷ໾ׂͱҙٛ w ͸ͯͳͷεϚʔτϑΥϯΞϓϦ։ൃͱCI • OS X Server͋ w Infrastructure as CodeΛ໨ࢦ͢

Slide 3

Slide 3 text

ࣗݾ঺հ id:aereal Twitter: aereal GitHub: aereal ΞϓϦέʔγϣϯΤϯδχΞ

Slide 4

Slide 4 text

͸ͯͳͷεϚʔτϑΥϯΞϓϦ ։ൃۙگ

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

ͳͥCI͕ඞཁ͔

Slide 7

Slide 7 text

CI = Continuous Integration

Slide 8

Slide 8 text

౷߹ Integration w Ұ࿈ͷϓϩηεΛ౷߹͢Δ w e.g.ϏϧυˠςετˠΧόϨοδܭଌˠ഑෍ w ʮνʔϜʹ։ൃϏϧυΛ഑ΔͷΛ๨Ε͍ͯͨʯ w ʮϏϧυ৬ਓʯͷഉআ

Slide 9

Slide 9 text

ܧଓత Continuous w ୤ʮ΍ͬͨΓɺ΍Βͳ͔ͬͨΓʯ w git pushͨ͠Β౷߹͕࢝·Δ w ϓϩηε͕ͦͷ࣌ʑͰมΘΒͳ͍

Slide 10

Slide 10 text

͸ͯͳͷ εϚʔτϑΥϯΞϓϦ։ൃͱCI

Slide 11

Slide 11 text

͜Ε·Ͱ • Jenkins on MacBook w ʮJenkins͕ಈ͍͍ͯΔͷͰ֖Λด͡ͳ͍Ͱʯ w ӡ༻ͷ஌ݟͱ༨༟͕ͳ͔ͬͨ w ։ൃͷن໛

Slide 12

Slide 12 text

ݱࡏ • Jenkins on Mac mini w/OS X Server w ςετ w Ϗϧυͱ഑෍ w J5VOFT$POOFDU΁ͷΞοϓϩʔυ

Slide 13

Slide 13 text

OS X Server

Slide 14

Slide 14 text

w جຊ͸OS X w iOS Developer Programʹೖ͍ͬͯΔͱແྉ w MackerelͰ؂ࢹ w IUUQTNBDLFSFMJP

Slide 15

Slide 15 text

w OS X Ͱ࢖͑ΔίϚϯυ͕ී௨ʹ࢖͑Δ • softwareupdate(8) • defaults(1) • launchctl(1) • http://developer.hatenastaff.com/entry/ hatena-engineer-advent-calendar-01-ansible

Slide 16

Slide 16 text

ͳͥࣗલͰӡ༻͢Δͷ͔ w GitHub Enterpriseͱͷ౷߹ w Ϗϧυπʔϧͷόʔδϣϯ • Xcode

Slide 17

Slide 17 text

ࣗલor SaaS w Մ༻ੑorίετ w ΫϦςΟΧϧͰͳ͍ͱ͜Ζ͔Β • εΫϦʔϯγϣοτͷ࡞੒ • σϓϩΠ w ηΩϡϦςΟϙϦγʔ

Slide 18

Slide 18 text

Ansibleͱ Infrastructure as Code

Slide 19

Slide 19 text

Ansibleͱ Infrastructure as Code

Slide 20

Slide 20 text

IUUQXXXBOTJCMFDPNIPNF l"OTJCMFJTUIFTJNQMFTUXBZUPBVUPNBUFz

Slide 21

Slide 21 text

ΞϓϦέʔγϣϯͷ։ൃ؀ڥΛ AnsibleͰͭ͘Δ IUUQEFWFMPQFSIBUFOBTUB⒎DPNFOUSZIBUFOBFOHJOFFSBEWFOU DBMFOEBSBOTJCMF

Slide 22

Slide 22 text

Ansibleͱ Infrastructure as Code

Slide 23

Slide 23 text

Infrastructure as Code w ϗετͷઃఆ΍ߏ੒ΛίʔυͰ௚઀දݱ͢Δ w ࣮ߦՄೳʹ w ςετՄೳʹ

Slide 24

Slide 24 text

No moreےྗӡ༻ w CIΛಈ͔͢͜ͱࣗମ͕໨తͰ͸ͳ͍ w CIͷԸܙΛ׆͔͠Ձ஋͋ΔϓϩμΫτΛ࡞Δࣄ͕ ໨త w ςετՄೳͳํ๏ΛબͿ

Slide 25

Slide 25 text

ڞ௨ݴޠͱͯ͠ͷίʔυ w ʮ͍͟ͱͳΕ͹ಡΊ͹Θ͔Δʯ w ϝϯςφϯε͢ΔϞνϕʔγϣϯ

Slide 26

Slide 26 text

ࣗಈԽͷਐΊํ w Կ౓΋܁Γฦͯ͠΍Δ͜ͱ͔Β࢝ΊΔ w e.g. launchd༻plistΛίϐʔ͢Δ w จॻԽͰ͢·ͤΔ͜ͱΛݕ౼ͯ͠΋Α͍ w e.g.͘͝୯७Ͱճ͖Γͷ࡞ۀ

Slide 27

Slide 27 text

·ͱΊ w ඼࣭Λ୲อ͠ૉૣ͘ϓϩμΫτΛ࡞ΔͨΊʹ$*Λॏ ༻͍ͯ͠·͢ w ྗٕͷߏஙɾӡ༻ʹͳΒͳ͍Α͏ʹ*OGSBTUSVDUVSF BT$PEFΛ৺ֻ͚͍ͯ·͢

Slide 28

Slide 28 text

ࢀߟ • 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