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

CircleCI_Meetup3_LT

Yasuhiroki
September 15, 2017

 CircleCI_Meetup3_LT

Yasuhiroki

September 15, 2017
Tweet

More Decks by Yasuhiroki

Other Decks in Programming

Transcript

  1. CircleCI 1.0 ͷ೰Έ • CircleCIͱͷ࿈ܞΛࢼͦ͏ͱ͍ͯͨ͠Β͍͠ • ઌߦͯ͠ Android Λࢼ͍ͯͨ͠ •

    CircleCI 1.0 ࣌୅͸ OOM ͰΑ͘ࢮ͵ • ຊ֨తͳ࿈ܞ͸৲ࠐΈ͍ͯͨ͠
  2. CircleCI 1.0 ͷ͜ͱ͸๨ΕΔ • OOM ͰΑ͘ࢮ͵ͷ͸ 1.0 ·Ͱ • CircleCI

    1.0 ͷࠒʹ࠾༻Λ೰ΜͰ͍ͨͳΒɺ
 CircleCI 2.0 ͸ผ෺ͱͯ͠ݕ౼͢΂͠
  3. docker-compose • ։ൃ͸ Mac ͕ͩຊ൪αʔό͸ Linux 
 Mac Ͱ Linux

    ͷಈ࡞֬ೝ͕͔ͨͬͨ͠ • ͔ͤͬ͘ docker-compose Λ࡞ͬͨͷͰɺ
 CircleCI Ͱ΋࢖͏Α͏ʹ͍ͯͨ͠
  4. CircleCI 2.0 Ͱ
 docker-compose Λ࢖͏ʹ͸ • ͬ͘͞ͱಈ͔͢ͳΒ `machine: true` Ϟʔυ

    • docker ίϚϯυ͸ॳΊ͔Βೖ͍ͬͯΔ • docker-compose ΋ wget ͢Δ͚ͩ • खݩͰ࢖͏ͷͱಉ͡ײ֮Ͱ࢖͑Δ
  5. CircleCI 2.0 ͷ docker image Ͱ docker-compose Λ࢖͏ͱʁ • ϋϚϦϙΠϯτ͕ଟ͍

    • Alpine Πϝʔδͩͱ wget ͚ͨͩ͠Ͱ͸ಈ͔ͳ͍ • docker daemon ͕Ͳ͜Ͱಈ͍͍ͯΔͷ͔ҙ͓ࣝͯ͘͠ ඞཁ͕͋Δ • ίϯςφͷ docker όʔδϣϯ͕৽ͯ͘͠΋ɺ
 docker daemon ͸ผͰಈ͍͍ͯͯόʔδϣϯ͕ݹ͍
  6. machine: true Ͱ͸μϝʁ • Note: There is an overhead for

    provisioning a machine executor and use of the machine key may require additional fees in a future pricing update.
 - https://circleci.com/docs/2.0/docker- compose/ • কདྷɺ՝ۚର৅ʹͳΔ͔΋͠Εͳ͍
  7. A10 Lab inc. • ΤϯδχΞืूதͰ͢ʂ • Android, iOS, RoR, AWS

    • ҰॹʹࣗಈԽΛ͢͢ΊΔ஥͕ؒཉ͍͠Ͱ͢ • https://a10lab.com/recruit/ • https://www.wantedly.com/companies/a10lab/projects