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

一休.comにおけるデプロイフローと自動化 /ikyu-deploy-flow

kentana20
April 21, 2016

一休.comにおけるデプロイフローと自動化 /ikyu-deploy-flow

サイボウズ✕一休合同勉強会での発表資料です

kentana20

April 21, 2016
Tweet

More Decks by kentana20

Other Decks in Technology

Transcript

  1. About me • ాத ݈հ • @kentana20 • 2006೥5݄͔ΒҰٳ •

    ॓ധαʔϏε։ൃ(9೥)
 →γεςϜຊ෦(1೥)

  2. ࠾༻ٕज़ / Tools • ASP.NET WebForms/MVC (VB/C#) • IIS, SQLServer,

    Solr • Sass, Compass • GitHub Enterprise • nxlog, Fluentd, Elasticsearch, Google Big Query • Jenkins, Selenium WebDriver • NewRelic, Kibana, Bugsnag • Redmine, Trello, Slack, Hubot
  3. ੲ (~2014೥) ϩʔΧϧ ؀ڥ 3FQPTJUPSZ 4VCWFSTJPO $IFDLPVU $PNNJU 5BH 4UBHJOH؀ڥ

    %FQMPZ ຊ൪؀ڥ %FQMPZ ϩʔΧϧ ؀ڥ 5FTU ΄΅खಈ ΤϯδχΞ͕౰൪(िସΓ)Ͱ࣮ࢪ
  4. ੲ (~2014೥) ϩʔΧϧ ؀ڥ 3FQPTJUPSZ 4VCWFSTJPO $IFDLPVU $PNNJU 5BH 4UBHJOH؀ڥ

    %FQMPZ ຊ൪؀ڥ %FQMPZ ϩʔΧϧ ؀ڥ 5FTU ΄΅खಈ ΤϯδχΞ͕౰൪(िସΓ)Ͱ࣮ࢪ
  5. ੲ (~2014೥) ϩʔΧϧ ؀ڥ 3FQPTJUPSZ 4VCWFSTJPO $IFDLPVU $PNNJU 5BH 4UBHJOH؀ڥ

    %FQMPZ ຊ൪؀ڥ %FQMPZ ϩʔΧϧ ؀ڥ 5FTU ΄΅खಈ ΤϯδχΞ͕౰൪(िସΓ)Ͱ࣮ࢪ खಈ ΤϯδχΞ͕෼୲Ͱ࣮ࢪ
  6. ౰࣌ͷ՝୊ • ຊ൪ϦϦʔεʹབྷΉ࡞ۀ͸खಈ͕ओ • ࢮ׆؂ࢹͷOn/Off • ϑΝΠϧಉظͷOn/Off • ϩʔυόϥϯαͰͷϊʔυ੾Γ཭͠/෮ؼ etc..

    • master΁ͷmergeʹ͋·Γҙຯ͕ͳ͔ͬͨ • StagingࢿࡐΛ࢖ͬͯຊ൪ϦϦʔε • σϓϩΠʹؔ࿈͢Δ࡞ۀ͸ઐ೚୲౰͕࣮ࢪ
  7. ౰࣌ͷ՝୊ • ຊ൪ϦϦʔεʹབྷΉ࡞ۀ͸खಈ͕ओ • ࢮ׆؂ࢹͷOn/Off • ϑΝΠϧಉظͷOn/Off • ϩʔυόϥϯαͰͷϊʔυ੾Γ཭͠/෮ؼ etc..

    • master΁ͷmergeʹ͋·Γҙຯ͕ͳ͔ͬͨ • StagingࢿࡐΛ࢖ͬͯຊ൪ϦϦʔε • σϓϩΠʹؔ࿈͢Δ࡞ۀ͸ઐ೚୲౰͕࣮ࢪ
  8. গ͠ੲͷϒϥϯνઓུ NBTUFS GYYY GYYY GYYY DIFDLPVU NFSHF 1VMM3FRVFTU 4UBHJOH SFMFBTF

    NFSHF 1VMM3FRVFTU Production %FQMPZ %FQMPZ master΁ͷmergeͰ͸ ԿͷΠϕϯτ΋ൃੜ͠ͳ͍
  9. গ͠ੲͷϒϥϯνઓུ NBTUFS GYYY GYYY GYYY DIFDLPVU NFSHF 1VMM3FRVFTU 4UBHJOH SFMFBTF

    NFSHF 1VMM3FRVFTU Production %FQMPZ %FQMPZ release΁mergeͯ͠ॳΊͯ Staging΁ͷσϓϩΠ͕࣮ߦ
  10. ౰࣌ͷ՝୊ • ຊ൪ϦϦʔεʹབྷΉ࡞ۀ͸खಈ͕ओ • ࢮ׆؂ࢹͷOn/Off • ϑΝΠϧಉظͷOn/Off • ϩʔυόϥϯαͰͷϊʔυ੾Γ཭͠/෮ؼ etc..

    • master΁ͷmergeʹ͋·Γҙຯ͕ͳ͔ͬͨ • StagingࢿࡐΛ࢖ͬͯຊ൪ϦϦʔε • σϓϩΠʹؔ࿈͢Δ࡞ۀ͸ઐ೚୲౰͕࣮ࢪ
  11. ݱࡏ (2015೥10݄~) • Production΁ͷσϓϩΠ΋ࣗಈʹ • master mergeޙɺStaging΁σϓϩΠ • release mergeޙɺProduction΁σϓϩΠ

    • ϦϦʔε͸݄ʙ໦ͷि4ճʹ • ϦϦʔεӡ༻͸೔ସΘΓͰ։ൃऀ͕࣮ࢪ ͍ͩͿΑ͘ͳ͖ͬͯ·ͨ͠