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

熊でもわかるCI/CDモダンインフラ Github Action編

熊でもわかるCI/CDモダンインフラ Github Action編

先日の勉強会の資料です。

Shohei Kobayashi

May 29, 2022
Tweet

More Decks by Shohei Kobayashi

Other Decks in Programming

Transcript

  1. લճͷ͓͞Β͍લఏͱ͢ΔΠϯϑϥ؀ڥ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB 71$ "NB[PO$MPVE'SPOU "84ࣗલͷ$%/ɻ ஋ஈʹԠͯ͡"LBNBJͱ͔ʹͳΔ͜ͱ΋͋Δ ҎԼͷߏ੒Λલఏͱͯ͠࿩ΛਐΊ·͢ɻ "NB[PO$MPVE'SPOU

    ϑϩϯτΤϯυ όοΫΤϯυ ֎෦͔ΒͷΞΫηε "NB[PO4 "NB[PO4 ੩తϑΝΠϧΛϗεςΟϯά͢Δͷʹ࢖ΘΕΔετʔϨδαʔϏεɻ ଱ٱੑ͸Ͱམͪͳ͍ͷͰɺΠϨϒϯφΠϯͱ͔ݺ͹ΕΔ "QQMJDBUJPO-PBE#BMBODFS "NB[PO&$4 3%4"VSPSB ϩʔυόϥϯαʔɻ ΞΫηεΛෳ਺ͷίϯςφʹৼΓ෼͚Δɻ %PDLFSίϯςφ࣮ߦ؀ڥɻ "84͕ఏڙ͍ͯ͠Δ3%#ͷ4BB4ɻ ޓ׵ੑ͕͋Δ͚ͩͰɺ.Z42-΍1PTUHSF42-ͱ͸શ͘ͷผ෺ɻ
  2. લճͷ͓͞Β͍ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB 3BJMTͷιʔείʔυద༻·Ͱ࣮ࡍʹ΍Δ͜ͱ "NB[PO$MPVE'SPOU ϑϩϯτΤϯυ όοΫΤϯυ "NB[PO4 ։ൃऀͷϩʔΧϧ

    ୯ମςετ ݁߹ςετ Ϗϧυ σϓϩΠ४උ σϓϩΠ CVOEMFJOTUBMM SBJMTECDSFBUF SBJMTECNJHSBUF CVOEMFFYFDSTQFD CVOEMFFYFDCSBLFNBO CVOEMFFYFDSVCPDPQ EPDLFSCVJME EPDLFSUBH EPDLFSQVTI DELEFQMPZ
  3. લఏɿ$*$%ύΠϓϥΠϯͱ͸ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB ΦϨϯδͷ֤εςοϓΛࣗಈԽͨ͠΋ͷΛ$*$%ύΠϓϥΠϯͱݺͼ·͢ "NB[PO$MPVE'SPOU ϑϩϯτΤϯυ όοΫΤϯυ "NB[PO4 ։ൃऀͷϩʔΧϧ

    ୯ମςετ ݁߹ςετ Ϗϧυ σϓϩΠ४උ σϓϩΠ CVOEMFJOTUBMM SBJMTECDSFBUF SBJMTECNJHSBUF CVOEMFFYFDSTQFD CVOEMFFYFDCSBLFNBO CVOEMFFYFDSVCPDPQ EPDLFSCVJME EPDLFSUBH EPDLFSQVTI DELEFQMPZ
  4. $*$%πʔϧͱ͸ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB $*$%ύΠϓϥΠϯΛߏங͢ΔπʔϧΛ$*%πʔϧͱ͍͍·͢ɻ "NB[PO$MPVE'SPOU ϑϩϯτΤϯυ όοΫΤϯυ "NB[PO4 ։ൃऀͷϩʔΧϧ

    ୯ମςετ ݁߹ςετ Ϗϧυ σϓϩΠ४උ σϓϩΠ CVOEMFJOTUBMM SBJMTECDSFBUF SBJMTECNJHSBUF CVOEMFFYFDSTQFD CVOEMFFYFDCSBLFNBO CVOEMFFYFDSVCPDPQ EPDLFSCVJME EPDLFSUBH EPDLFSQVTI DELEFQMPZ
  5. $*Ͱ΍Δϑϩʔجຊ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB ։ൃ͸ࣗಈɾຊ൪͸࠷ऴεςοϓͷΈखಈ όοΫΤϯυ ։ൃऀͷϩʔΧϧ ୯ମςετ ݁߹ςετ Ϗϧυ

    σϓϩΠ४උ σϓϩΠ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB όοΫΤϯυ %FWFMPQNFOU 1SPEVDUJPO ։ൃ؀ڥ͸NBJOʹQVTIͱಉ࣌ʹσϓϩΠ·Ͱߦ͏ ຊ൪؀ڥ͸खಈͰσϓϩΠͷΈߦ͏ σϓϩΠ ୯ମςετ ݁߹ςετ Ϗϧυ σϓϩΠ४උ
  6. $*Ͱ΍Δϑϩʔجຊͦͷ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB ຊ൪ͷσϓϩΠ४උ͸NBJOʹQVTI࣌ʹߦ͏ όοΫΤϯυ ։ൃऀͷϩʔΧϧ ୯ମςετ ݁߹ςετ Ϗϧυ

    σϓϩΠ४උ σϓϩΠ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB όοΫΤϯυ %FWFMPQNFOU 1SPEVDUJPO σϓϩΠ ୯ମςετ ݁߹ςετ Ϗϧυ σϓϩΠ४උ ͜ͷεςοϓͰຊ൪΁ͷ४උ΋ߦ͏
  7. $*Ͱ΍Δϑϩʔجຊͦͷ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB σϓϩΠ४උͰߦ͏͜ͱ όοΫΤϯυ ։ൃऀͷϩʔΧϧ ୯ମςετ ݁߹ςετ Ϗϧυ

    σϓϩΠ४උ σϓϩΠ %FWFMPQNFOU EPDLFSCVJME EPDLFSUBH EPDLFSQVTI EPDLFSCVJME EPDLFSUBH EPDLFSQVTI "NB[PO&MBTUJD$POUBJOFS3FHJTUPSZ
  8. $*Ͱ΍Δϑϩʔجຊͦͷ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS σϓϩΠͰߦ͏͜ͱ όοΫΤϯυ ։ൃऀͷϩʔΧϧ ୯ମςετ ݁߹ςετ Ϗϧυ σϓϩΠ४උ

    σϓϩΠ "NB[PO&MBTUJD$POUBJOFS3FHJTUPSZ &$44FSWJDF5BTLVQEBUF &$45BTL%F fi OJUJPOVQEBUF NJHSBUJPO &$4ͷઃఆΛมߋ͢ΔͷͰ "84$%,΍5FSSBGPSNͰ ߦ͏͜ͱ͕ଟ͍Ͱ͢
  9. (JUIVC"DUJPO "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB ੺࿮Λ(JUIVCͰͰ͖ΔΑ͏ʹఆٛ͢Δ όοΫΤϯυ ։ൃऀͷϩʔΧϧ ୯ମςετ ݁߹ςετ Ϗϧυ

    σϓϩΠ४උ σϓϩΠ "NB[PO&$4 "QQMJDBUJPO-PBE#BMBODFS 3%4"VSPSB όοΫΤϯυ %FWFMPQNFOU 1SPEVDUJPO σϓϩΠ ୯ମςετ ݁߹ςετ Ϗϧυ σϓϩΠ४උ