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

このCircle CIがすごい 中央線Meetup #1 /circle ci sugoi

dmnlk
August 03, 2018

このCircle CIがすごい 中央線Meetup #1 /circle ci sugoi

中央線Meetup #1 で使う資料です

dmnlk

August 03, 2018
Tweet

More Decks by dmnlk

Other Decks in Technology

Transcript

  1. CircleCIͷಛ௃ • 1ܥͱ2ܥ͕͋Δ͕ɺ1ܥ͸͋ͱ1ϲ݄Ͱࢮ͵ͷͰׂѪ • .circleci/config.ymlʹYAMLͰjobͷఆٛΛॻ͘ • Docker imageΛར༻ͯ͠jobΛ࣮ߦ͢Δ • ແྉ࿮΋͋Γprivate

    repoͰ΋ར༻Ͱ͖ΔͷͰ͓ࢼ͠΍͍͢ • Dockerͷ஌͕ࣝଟগ͍ΔͷͰ࠷ॳ͸ͱ͖ͬͭͮΒ͍͔΋ • macOSίϯςφ΋͋ΔͷͰiOSΞϓϦͷϏϧυʹ΋࢖͑·͢ʢແྉ࿮ͳ ͠
  2. config.ymlͷαϯϓϧ version: 2 jobs: build: docker: - image: circleci/<language>:<version TAG>

    steps: - checkout - run: <command> test: docker: - image: circleci/<language>:<version TAG> steps: - checkout - run: <command> workflows: version: 2 build_and_test: jobs: - build - test Ref https://circleci.com/docs/2.0/sample-config/