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

CircleCI 2.0 で CakePHP3 アプリのビルド

CircleCI 2.0 で CakePHP3 アプリのビルド

2017/08/08 PHP BLT #8 のLT資料です

サンプルプロジェクトは以下にあります。
https://github.com/c-brains/cakephp3-circleci-example
https://github.com/c-brains/cakephp3-circleci-example/blob/master/.circleci/config.yml

tenkoma (Koji Tanaka)

August 08, 2017
Tweet

More Decks by tenkoma (Koji Tanaka)

Other Decks in Programming

Transcript

  1. $JSDMF$*Ͱ
    $BLF1)1ΞϓϦͷ
    Ϗϧυ
    1)1#-5
    ,PKJ5BOBLB!UFOLPNB

    View full-size slide

  2. ۙگ
    ࣾ಺Ͱ࠷ޙ·Ͱ࢒͍ͬͯͨ
    47/ϦϙδτϦΛ
    (JU (JU-BC
    ʹҠߦ͠·ͨ͠ʂ

    View full-size slide

  3. $JSDMF$*Ͱ
    $BLF1)1ΞϓϦͷ
    Ϗϧυ
    1)1#-5
    ,PKJ5BOBLB!UFOLPNB

    View full-size slide

  4. $JSDMF$*
    w(JU)VC#JU#VDLFUͱ࿈ܞ
    wίϛοτ΍ϓϧϦΫΤετຖʹΞϓϦશମ
    ͱͯ͠໰୊͕ͳ͍͔ݕূ͢ΔͨΊͷπʔϧ
    w༗ঈͰ͕݄͢ʹ ෼·Ͱແྉ

    View full-size slide

  5. $JSDMF$*
    ϦϦʔε

    w%PDLFSαϙʔτͷڧԽ
    wॊೈʹϏϧυखॱΛఆٛ
    wϫʔΫϑϩʔػೳ
    w ࢀߟɿ$JSDMF$*ʹҠߦͯ͠৽ػೳΛ׆༻ͨ͠Β$*ͷ࣮ߦ
    ͕࣌ؒ൒෼ʹͳͬͨ࿩Ϋϥ΢υϫʔΫεΤϯδχΞϒϩά

    View full-size slide

  6. ެࣜυΩϡϝϯτ͸-BSBWFM42-JUF
    ˞IUUQTDJSDMFDJDPNEPDTMBOHVBHFQIQ
    ˣ
    $BLF1)1.Z42-ͰQIQVOJU QIQDT

    View full-size slide

  7. DJSDMFDJDPOpHZNM

    View full-size slide

  8. XPSLqPXT
    KPCT

    View full-size slide

  9. QIQVOJU
    QIQDT

    View full-size slide

  10. ࣮ߦ؀ڥͷઃఆ
    %PDLFSΠϝʔδ

    Ϗϧυखॱ
    ʜ
    ʜ

    View full-size slide

  11. ᶃ%PDLFSΠϝʔδͷ
    ༻ҙͱઃఆ
    ᶄεςοϓఆٛ
    ᶅϫʔΫϑϩʔ
    ʜ
    ʜ

    View full-size slide

  12. ᶃ%PDLFSΠϝʔδͷ
    ༻ҙͱઃఆ
    %PDLFSΠϝʔδΛΧελ
    ϚΠζ QIQBQBDIFϕʔε

    DPOpHZNMʹઃఆ

    View full-size slide

  13. ΧελϜ%PDLFSΠϝʔδ
    Ϗϧυखॱ಺Ͱґଘύοέʔδɾ1)1ΤΫεςϯγϣϯΛ
    ϏϧυDPNQPTFSΠϯετʔϧ
    %PDLFSpMF
    ˡ%PDLFSJ[FΠϯετʔϧ ޙड़

    վળલ
    վળޙ
    DJSDMFDJDPOpHZNM

    View full-size slide

  14. ᶃ%PDLFSΠϝʔδઃఆ
    ˣΧελϜ%PDLFSΠϝʔδ

    View full-size slide

  15. Ϗϧυ࣌ؒ

    վળલ
    վળޙ

    View full-size slide

  16. ᶄϏϧυखॱ
    wΩϟογϡอଘɾϦετΞ΍νΣοΫ
    Ξ΢τͷλΠϛϯάΛࢦఆͰ͖ΔΑ͏
    ʹͳͬͨ

    View full-size slide

  17. ᶄϏϧυखॱ
    %PDLFSJ[FͰ.Z42-%#४උ଴ͪ
    ΩϟογϡอଘɾϦετΞ΍
    νΣοΫΞ΢τͷλΠϛϯάΛ
    ࢦఆ͢ΔΑ͏ʹͳͬͨ

    View full-size slide

  18. ᶅϫʔΫϑϩʔػೳ
    wδϣϒΛฒྻ࣮ߦͨ͠Γɺґଘؔ܎ʢ"
    ͕੒ޭͨ͠Β#Λ࣮ߦʣΛఆٛͰ͖Δ

    View full-size slide

  19. ᶅϫʔΫϑϩʔ
    QIQVOJUͱQIQDTΛ
    ฒྻ࣮ߦ

    View full-size slide

  20. ᶅϫʔΫϑϩʔ
    QIQDTύεͨ͠Β
    QIQVOJU

    View full-size slide

  21. ᶅϫʔΫϑϩʔ
    ϓϧϦΫͷϖʔδͰ
    Ͳͷδϣϒ͕ࣦഊ͔ͨ͠Θ͔Δ

    View full-size slide

  22. 7/11 CircleCI 2.0 → 7/14 ϒϩάهࣄ

    View full-size slide

  23. هࣄॻ͜͏ͱࢥͬͨΒ
    ϦϦʔε͞Εͯ͠·ͬͨͷͰ
    ٸ͍Ͱ࢓্͛ͨ

    View full-size slide

  24. ᶃ%PDLFSΠϝʔδͷ
    ༻ҙͱઃఆ
    ᶄεςοϓఆٛ
    ᶅϫʔΫϑϩʔ
    ʜ
    ʜ

    View full-size slide

  25. ࢀߟࢿྉ
    w -BOHVBHF(VJEF1)1$JSDMF$*
    w IUUQTDJSDMFDJDPNEPDTMBOHVBHFQIQ
    w $JSDMF$*ʹҠߦͯ͠৽ػೳΛ׆༻ͨ͠Β$*ͷ࣮ߦ࣌ؒ
    ͕൒෼ʹͳͬͨ࿩Ϋϥ΢υϫʔΫεΤϯδχΞϒϩά
    w IUUQFOHJOFFSDSPXEXPSLTKQFOUSZ
    w$JSDMF$*("ϦϦʔεଓ/PEFKTϚϧνόʔδϣϯϏ
    ϧυUFQQFJTCMPH
    w IUUQUFQQFJTIBUFOBCMPHDPNFOUSZDJSDMFDJHB
    wDCSBJOTDBLFQIQDJSDMFDJFYBNQMF(JU)VC
    w IUUQTHJUIVCDPNDCSBJOTDBLFQIQDJSDMFDJFYBNQMF

    View full-size slide

  26. ࣗݾ঺հ
    ాத޹࣏!UFOLPNB
    גࣜձࣾγʔϒϨΠϯ!ԣ඿അंಓ
    ޷͖ͳπʔϧ

    View full-size slide