Slide 1

Slide 1 text

ܧଓతΠϯςάϨʔγϣϯͱChatOpsͰ γεςϜ։ൃɾӡ༻ΛՄࢹԽ ߹ಉձࣾ decr ୅දࣾһ ౉ลҰ޺(@kaz_29)

Slide 2

Slide 2 text

WHO? ߹ಉձࣾ decr ୅දࣾһ WebΞϓϦέʔγϣϯͷ։ൃɺ iOSΞϓϦέʔγϣϯͷ։ൃɺ Ϋϥ΢υΠϯϑϥͷߏஙɾӡ༻

Slide 3

Slide 3 text

ιϑτ΢ΣΞ։ൃʹٻΊΒΕ͍ͯ Δ΋ͷ ୹͍ϦϦʔεαΠΫϧ ಈ͘ιϑτ΢ΣΞͷڙڅ ՄೳͳݶΓແବΛഉআ νʔϜ಺ͷԁ׈ͳίϛϡχέʔγϣϯ͕ॏཁ ࣗಈԽՄೳͳ΋ͷ͸શͯࣗಈԽ͢Δ

Slide 4

Slide 4 text

ܧଓతΠϯςάϨʔγϣϯ Continuous Integration = CI

Slide 5

Slide 5 text

“ܧଓతΠϯςάϨʔγϣϯɺCIʢӳ: continuous integrationʣͱ͸ɺओʹϓϩάϥϚʔͷΞϓϦ έʔγϣϯ࡞੒࣌ͷ඼࣭վળ΍ೲظͷ୹ॖͷͨΊ ͷश׳ͷ͜ͱͰ͋ΔɻΤΫετϦʔϜɾϓϩάϥ ϛϯά (XP) ͷϓϥΫςΟεͷҰͭͰɺڱٛʹ͸Ϗ ϧυ΍ςετɺΠϯεϖΫγϣϯͳͲΛܧଓతʹ ࣮ߦ͍ͯ͘͜͠ͱΛҙຯ͢Δɻ” – Wikipedia

Slide 6

Slide 6 text

Ή͔͍ͣ͠…

Slide 7

Slide 7 text

ܧଓతΠϯςάϨʔγϣϯ ඞਢ৚݅

Slide 8

Slide 8 text

ܧଓతΠϯςάϨʔγϣϯ ඞਢ৚݅ - VCS όʔδϣϯ؅ཧγεςϜ(VCS)ͷಋೖ͸ඞਢʂ ෳ਺ͷόʔδϣϯΛखಈͰ؅ཧ͢Δ͜ͱ͸ෆՄೳ git/mercurialͳͲͷ෼ࢄܕ͕͓͢͢Ί GitHub/BitbucketͳͲͷαʔϏεΛར༻͢Δ͜ͱͰ؅ཧ ίετΛ࡟ݮ

Slide 9

Slide 9 text

ܧଓతΠϯςάϨʔγϣϯ ඞਢ৚݅ - CIπʔϧ ܧଓతΠϯςάϨʔγϣϯπʔϧ αʔόʔΠϯετʔϧܕ SaaSܕ …

Slide 10

Slide 10 text

ܧଓతΠϯςάϨʔγϣϯ ඞਢ৚݅ - ςετʂ ࣗಈԽ͞Εͨςετ UnitTest ίʔυΧόϨοδ डೖςετ Selenium behat(BDD Story Test) - http://behat.org Codeception - http://codeception.com/

Slide 11

Slide 11 text

ܧଓతΠϯςάϨʔγϣϯ ඞਢ৚݅ - ௨஌ ໰୊Λൃݟͨ͠Β͙͢ʹ஌ΒͤΔ ΤϯδχΞ͚ͩͰͳ͘νʔϜશһʹ஌ΒͤΔ ͋Δछͷۓுײ͕ੜ·ΕΔ? ͙͢ʹؾͮ͘ɺݟམͱ͞Εͳ͍ϝσΟΞͰ఻͑Δ ໰୊͸࠷༏ઌͰରԠʂ

Slide 12

Slide 12 text

ܧଓతΠϯςάϨʔγϣϯ ಘΒΕΔϝϦοτ

Slide 13

Slide 13 text

ܧଓతΠϯςάϨʔγϣϯ ಘΒΕΔϝϦοτ ଐਓੑɺ୺຤ґଘͷഉআ ͍ͭͰ΋ ୭Ͱ΋ ؆୯ͳखॱͰ ࣮ߦͰ͖Δ

Slide 14

Slide 14 text

ܧଓతΠϯςάϨʔγϣϯ ಘΒΕΔϝϦοτ ϓϩδΣΫτ։࢝౰ॳ͔Β܁Γฦ࣮͠ߦ ϏϧυΛࣗಈ࣮ߦ ຖ೔ఆ࣮࣌ߦ ιϑτ΢ΣΞʹमਖ਼͕ೖΔͨͼ ໰୊Λૉૣ͘ ൃݟͰ͖Δ

Slide 15

Slide 15 text

ܧଓతΠϯςάϨʔγϣϯ ಘΒΕΔϝϦοτ मਖ਼ίετ ཁٻఆٛ ઃܭ ։ൃ୯ମςετ ݁߹ςετ ϕʔλςετ ެ։ޙ ໰୊मਖ਼ʹ͔͔Δίετ ૣ͘ݟ͚ͭͯ ૉૣ͘௚͢ʂ

Slide 16

Slide 16 text

ܧଓతΠϯςάϨʔγϣϯ ಘΒΕΔϝϦοτ ϓϩδΣΫτͷ ঢ়ଶΛ೺ѲͰ͖Δ

Slide 17

Slide 17 text

ChatOpsͱ͸ʁ

Slide 18

Slide 18 text

ChatOpsͱ͸ʁ νϟοτ্ͰίϚϯυΛೖྗ͠λεΫΛ࣮ߦ ιϑτ΢ΣΞͷσϓϩΠɺϏϧυͷ࣮ߦɺ λΠϜΧʔυͷଧࠁ…etc ιϑτ΢ΣΞ։ൃதͷ༷ʑͳঢ়ଶɾ৘ใΛνϟοτ ্ͰՄࢹԽ ίʔυͷCommitɺϏϧυ݁Ռɺ؂ࢹ݁ՌɺΤ ϥʔ಺༰…etc

Slide 19

Slide 19 text

ChatOps ಘΒΕΔϝϦοτ

Slide 20

Slide 20 text

ChatOps ಘΒΕΔϝϦοτ ࠓԿ͕ى͖͍ͯΔ͔ΛνʔϜશһ͕೺ѲͰ͖Δ ৘ใ΍ૢ࡞ΛҰՕॴʹू໿Ͱ͖Δ ൃੜ͍ͯ͠Δ͜ͱʹؔ͢Δٞ࿦Λͦͷ··ਐΊΒΕΔ ϞόΠϧͰ΋ར༻Ͱ͖Δ

Slide 21

Slide 21 text

ܧଓతΠϯςάϨʔγϣϯ+ChatOps ฐࣾͰͷࣄྫ

Slide 22

Slide 22 text

CI+ChatOps ฐࣾͰͷࣄྫ http://mega-hon.com/

Slide 23

Slide 23 text

CI+ChatOps ฐࣾͰͷࣄྫ VCS crash report ϓϩϏδϣχϯά σϓϩΠ λεΫ/ετʔϦͷ؅ཧ CI ΞϓϦ νϟοτγεςϜ ։ൃ؀ڥ εςʔδϯά/ϓϩμΫγϣϯ؀ڥ I love Ubuntu

Slide 24

Slide 24 text

CI+ChatOps ฐࣾͰͷࣄྫ - ։ൃ؀ڥ ։ൃ؀ڥ εςʔδϯά/ϓϩμΫγϣϯ؀ڥ ϓϩϏδϣχϯά

Slide 25

Slide 25 text

CI+ChatOps ฐࣾͰͷࣄྫ - ࡞ۀͷྲྀΕ ίʔυΛίϛοτ [finish #ετʔϦʔ൪߸] ίϛοτΛ௨஌ ετʔϦΛด͡Δ ετʔϦʹίϝϯτΛ͚ͭΔ ετʔϦͷ ঢ়ଶΛ௨஌

Slide 26

Slide 26 text

CI+ChatOps ฐࣾͰͷࣄྫ - ࡞ۀͷྲྀΕ

Slide 27

Slide 27 text

CI+ChatOps ฐࣾͰͷࣄྫ - ࡞ۀͷྲྀΕ PRΛ࡞੒ PRΛ௨஌ PRΛ௨஌ ϏϧυΛࣗಈ࣮ߦ ςετ։࢝/݁ՌΛίϝϯτ ςετ݁ՌΛ ௨஌

Slide 28

Slide 28 text

CI+ChatOps ฐࣾͰͷࣄྫ - ࡞ۀͷྲྀΕ

Slide 29

Slide 29 text

CI+ChatOps ฐࣾͰͷࣄྫ - ࡞ۀͷྲྀΕ

Slide 30

Slide 30 text

CI+ChatOps ฐࣾͰͷࣄྫ - ࡞ۀͷྲྀΕ

Slide 31

Slide 31 text

CI+ChatOps ฐࣾͰͷࣄྫ - σϓϩΠ chat γεςϜ ίϚϯυೖྗ @megahon-bot deploy to staging σϓϩΠ݁Ռ HuBot ίϚϯυड৴ σϓϩΠॲཧىಈ

Slide 32

Slide 32 text

CI+ChatOps ฐࣾͰͷࣄྫ - σϓϩΠ

Slide 33

Slide 33 text

CI+ChatOps ฐࣾͰͷࣄྫ - ΞϓϦͷঢ়ଶ௨஌ chat γεςϜ ΞϓϦͷঢ়ଶ

Slide 34

Slide 34 text

CI+ChatOps ฐࣾͰͷࣄྫ - ΞϓϦͷঢ়ଶ௨஌

Slide 35

Slide 35 text

CI+ChatOps ฐࣾͰͷࣄྫ - ͦͷଞ chat γεςϜ ΫϥογϡϨϙʔτ

Slide 36

Slide 36 text

CI+ChatOps ฐࣾͰͷࣄྫ - ͦͷଞ

Slide 37

Slide 37 text

·ͱΊ

Slide 38

Slide 38 text

CI + ChatOps ໰୊Λૉૣ͘ൃݟ ϓϩδΣΫτͷঢ়ଶΛՄࢹԽ νʔϜ಺ͷίϛϡχέʔγϣϯͷԁ׈Խ

Slide 39

Slide 39 text

ϩʔϚ͸̍೔ʹ ͯ͠੒Βͣ

Slide 40

Slide 40 text

$*$IBU0QTͰ ҆৺ͯ͠εϐʔσΟʔʹ ։ൃΛਐΊ·͠ΐ͏ʂ Fin

Slide 41

Slide 41 text

͓·͚ ॻళϒʔεͰ ઈࢍൢചதʂ 13:30ʙαΠϯձ΋͋ΔΑ(><)