Slide 1

Slide 1 text

ItamaeͰαʔόߏங Λָ͘͢͠Δ 2017.11.24 ෱ԬRubyձٞ02ɾલ໷ࡇ
 ߴڮ ਅಸ՘ @hnmx4

Slide 2

Slide 2 text

ࣗݾ঺հ ߴڮ ਅಸ՘ / ·ͳͯ͌ / @hnmx4 େֶӃੜ(৘ใ޻ֶ) ߴઐଔ(ిؾ޻ֶ) ΞϧόΠτͷΠϯϑϥΤϯδχΞ Ruby, Python

Slide 3

Slide 3 text

αʔόߏஙͯ͠·͔͢ʁ

Slide 4

Slide 4 text

αʔόߏங໘౗͘͘͞ͳ͍Ͱ ͔͢ʁ

Slide 5

Slide 5 text

ΊΜͲ͍͘͞ϙΠϯτ ύοέʔδΛΆͪΆͪೖΕΔͱ͜Ζ confΛΆͪΆͪॻ͘ͱ͜Ζ ͦͷଞΆͪΆͪͨ͠ͱ͜Ζ

Slide 6

Slide 6 text

ItamaeͰϋοϐʔʹͳΓ· ͠ΐ͏

Slide 7

Slide 7 text

ڈ೥ࠒͷ๻

Slide 8

Slide 8 text

ձࣾͷਓʮ࠷ॳͷ࢓ࣄͳΜͰ͚͢Ͳʯ ๻ʮ͸͍ʯ ձࣾͷਓʮࣾ಺DNSαʔόյΕ͔ͨΒͪΐͬͱ ࡞ͬͯΈΑ͏͔ʯ ๻ʮͳΔ΄Ͳ…ͳΔ΄Ͳʁʯ

Slide 9

Slide 9 text

๻ʮͱΓ໊͋͑ͣલҾ͚ΔΑ͏ʹͳΓ·ͨ͠ʯ ձࣾͷਓʮ͡Ό͋͞ɺͦΕϓϩϏδϣχϯάπʔ ϧͰ࡞ΕΔΑ͏ʹͯ͠Αʯ ๻ʮϓϩ…͑ʁʯ ձࣾͷਓʮItamaeͱ͔؆୯͔ͩΒʯ ๻ʮItamaeʯ

Slide 10

Slide 10 text

ϓϩϏδϣχϯάπʔϧͱग़ ձͬͨ!!!!!

Slide 11

Slide 11 text

ϓϩϏδϣχϯάπʔϧʁ OSͷΠϯετʔϧΛγϡοͱ͢Δ ϛυϧ΢ΣΞͷߏ੒Λγϡοͱ͢Δ ࢀߟʹͳΔϒϩάهࣄɿ
 http://tapira.hatenablog.com/entry/2015/05/26/124710

Slide 12

Slide 12 text

“γϡο”ʁ ϛυϧ΢ΣΞߏ੒Λద౰ͳݴޠͰهड़͢Δ هड़Λݩʹπʔϧ͕αʔόΛߏஙͯ͘͠ΕΔ

Slide 13

Slide 13 text

ͭ·Γ

Slide 14

Slide 14 text

ΊΜͲ͍͘͞ϙΠϯτ ύοέʔδΛΆͪΆͪೖΕΔͱ͜Ζ confΛΆͪΆͪॻ͘ͱ͜Ζ ͦͷଞΆͪΆͪͨ͠ͱ͜Ζ

Slide 15

Slide 15 text

ΊΜͲ͍͘͞ϙΠϯτ ύοέʔδΛΆͪΆͪೖΕΔͱ͜Ζ confΛΆͪΆͪॻ͘ͱ͜Ζ ͦͷଞΆͪΆͪͨ͠ͱ͜Ζ ΊΜͲ͘͘͞ͳ͍!!!!!!

Slide 16

Slide 16 text

ศརͳϙΠϯτ खͰΆͪΆͪ͢Δ͕࣌ؒѹ౗తʹݮΔ αʔόͷߏ੒ΛίʔυԽͰ͖Δ ࢿݯͷ࠶ར༻͕Ͱ͖Δ ʮίʔυΛॻ͘ʯͷ͸޷͖ͳͷͰָ͍͠

Slide 17

Slide 17 text

αʔόߏஙָ͕ͦ͠͏ʹݟ͑ ͖ͯͨ

Slide 18

Slide 18 text

ͦ͜ͰItamae

Slide 19

Slide 19 text

Itamaeͱ͸ʁ ܰྔͳChefͬΆ͍ϓϩϏδϣχϯάπʔϧ ओʹΫοΫύουͷਓ͕։ൃ͍ͯ͠ΔOSS Ruby੡ https://github.com/itamae-kitchen/itamae

Slide 20

Slide 20 text

https://github.com/hnmx4/octopass-itamae-cookbook/blob/master/ cookbooks/octopass/default.rb

Slide 21

Slide 21 text

Itamaeͷ͍͍ͱ͜Ζ Rubyॻ͚Ε͹ॻ͚Δ ॳΊͯ৮ͬͨਓͰ΋೉͘͠ͳ͍ Ruby੡

Slide 22

Slide 22 text

ItamaeΛ৮ͬͯΈͯ RubyͰॻ͚ͯศར
 Rubyͷࢿݯ͕࢖͑ͯศར ෼͔Βͳ͍ͱ͜Ζ͸ItamaeͷίʔυݟΕ͹Α͘ ͯศར

Slide 23

Slide 23 text

ศར!!!!ָ͍͠!!!!!!

Slide 24

Slide 24 text

๻ʮItamaeΊͬͪΌศརͰ͢Ͷʯ ձࣾͷਓʮ͍͍Ͱ͠ΐɻςετ΋ॻ͍ͨ͠ɺ࣍ ͸CIʹ৐ͤΑ͏͔ʯ ๻ʮCIʯ

Slide 25

Slide 25 text

CIͱ͸ʁ Continuous Integrationͷུ ద౰ͳλΠϛϯάͰϏϧυ&ςετ ๨Ε͕ͪͳςετΛࣗಈԽ ໰୊Λ͙͢ൃݟͰ͖Δ

Slide 26

Slide 26 text

ձࣾͷਓʮCIʹ͸Drone࢖ͬͯΔ͔ΒɺDocker ʹItamaeྲྀͤΔΑ͏ʹ͓ͯ͜͠͏͔ʯ ๻ʮDroneͱDockerʯ

Slide 27

Slide 27 text

Drone.io OSSͷCIπʔϧ ίϯςφٕज़Λར༻ ຖճΫϦʔϯͳ؀ڥΛϏϧυ͢Δ ࢀߟʹͳΔεϥΠυɿ https://www.slideshare.net/udzura/droneio

Slide 28

Slide 28 text

Docker ίϯςφܕVM ͬ͘͞Γ؀ڥߏஙͰ͖Δ ΠϝʔδͷΧελϜ͕༰қ OS Xͷ্ʹCentOSίϯςφ࡞ΕͨΓ͢Δ https://www.docker.com/

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

͜Ε·Ͱͷ๻

Slide 31

Slide 31 text

(αʔόߏஙपลٕज़Α͘෼͔ Βͳ͍݁͠ہ໘౗͍͘͞ؾ͕ ͢Δ…)

Slide 32

Slide 32 text

࠷ۙͷ๻

Slide 33

Slide 33 text

(ίʔυԽ͞ΕͯΔࣗ͠ಈԽ͸ ָ͍͠͠΍ͬͯΈΔͧ!!!!!)

Slide 34

Slide 34 text

ItamaeޮՌͩ!!!!!

Slide 35

Slide 35 text

Itamae(Ruby੡)ͷ͓͔͛Ͱۤखࠀ෰ ୀ۶ͳ͜ͱ͸Rubyʹ΍ΒͤΑ͏ Πϯϑϥͷਓʑ͸೔ʑόγόγࣗಈԽͯ͠Δ ·ͱΊ