Upgrade to Pro — share decks privately, control downloads, hide ads and more …

fukuokark02-eve

 fukuokark02-eve

福岡Ruby会議02・前夜祭でのLong Talk資料 https://fukuokarb.connpass.com/event/68497/

TAKAHASHI Manaka

November 25, 2017
Tweet

More Decks by TAKAHASHI Manaka

Other Decks in Technology

Transcript

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

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

    Ruby, Python
  3. αʔόߏஙͯ͠·͔͢ʁ

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

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

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

  7. ڈ೥ࠒͷ๻

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

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

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

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

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

  13. ͭ·Γ

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

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

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

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

  18. ͦ͜ͰItamae

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

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

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

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

  23. ศར!!!!ָ͍͠!!!!!!

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

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

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

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

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

  29. None
  30. ͜Ε·Ͱͷ๻

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

  32. ࠷ۙͷ๻

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

  34. ItamaeޮՌͩ!!!!!

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