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

GitHub Business Seminar

5df67047ff8dd67c1f3b7e0f9b48c2ee?s=47 Takafumi Ikeda
December 04, 2017

GitHub Business Seminar

2017-12-04

5df67047ff8dd67c1f3b7e0f9b48c2ee?s=128

Takafumi Ikeda

December 04, 2017
Tweet

Transcript

  1. Where software is built Being successful with GitHub Or Breaking

    your silos
  2. ! Where software is built Who am I? 2 a

    ikeike443
  3. # Where software is built # $ 3 TAKAFUMI IKEDA

    SOLUTIONS ENGINEER Who am I?
  4. ! Where software is built νʔϜ։ൃ࣮ફೖ໳ 4

  5. Where software is built % Agenda 5 •GitHubͱ͸ͳʹ͔ʁ •ͳͥGitHub͕ඞཁͳͷ͔ʁ •GitHubͰͲΜͳ͜ͱ͕Ͱ͖Δͷ͔ʁ

    •Breaking your silos %
  6. Where software is built GitHubͱ͸ͳʹ͔ʁ This is what you’ve been

    looking for 6 %
  7. ! Where software is built 7

  8. ! Where software is built 8

  9. ! Where software is built 9

  10. ! Where software is built ͜Ε͸OctocatͰ͢ 10 •GitHubͷϚείοτͰ͢ •࣮͸ঁͷࢠͰ͢ •໊લ͸MonalisaͰ͢

  11. ! Where software is built •Ͱ͸ GitHub ͱ͸ʁ 11

  12. How software is built % For Internal Only - Confidential

    / 2015 ਺ࣈͰݟΔGitHub 12 % ࠾༻͍ͯ͠Δ େֶͷ਺ 1,000+ ొ࿥Ϣʔβʔ਺ 2,400ສ ϦϙδτϦ਺ 6,700ສ ར༻اۀɾஂମ਺ 60,000+ ೔ຊ͔Βͷ݄ؒ ๚໰ऀ਺ 70ສ ೔ຊͷ͓٬༷਺ 1,400+
  13. GitHubձࣾ֓ཁ CEO Chris Wanstrath ૑ۀ 2008೥ VC౤ࢿֹ $350M ैۀһ਺ 700+

    ձ໊ࣾ GitHub, Inc. ຊࣾ αϯϑϥϯγεί, CA
  14. ౦ژΦϑΟε͸2015೥ʹઃཱ ॴࡏ஍ɿߓ۠ࣳେ໳ ೔ຊޠରԠ͕Ͱ͖ΔӦۀ/SE/αϙʔτελοϑ

  15. How software is built % For Internal Only - Confidential

    / 2015 15 & OPEN SOURCE LEADERS SOFTWARE SPECIALISTS FORWARD THINKING ENTERPRISES GitHub ͷ࠾༻ൣғ
  16. ! Where software is built GitHub͸OSSͷ͋ΓํΛม͑ͨ 16

  17. ! Where software is built GitHubҎલ 17 ! " #

    " $ " % " & " ' " ( " ) " x " $ " % " & " ' " ( " ) " ! "
  18. ! Where software is built GitHubҎޙ 18

  19. ! Where software is built GitHub͸ίϥϘϨʔγϣϯͷ͋ΓํΛม͑ͨ 19

  20. ! Where software is built اۀͷ։ൃελΠϧͷมԽʹ΋ߩݙ 20 •GitHub.com͸WebαʔϏε •ࣾ಺Ͱ΋࢖͍͍ͨͱ͍͏੠ʹ͓Ԡ͑ͯ͠

  21. ! Where software is built 2012೥ΑΓ 21

  22. ! Where software is built GitHub Enterprise 22 •ࣾ಺ωοτϫʔΫʹΠϯετʔϧՄೳ •GitHub.comͱಉ͡ػೳ

    •LDAP, SAMLʹΑΔID؅ཧ •ূ੻ͷ؅ཧɺόοΫΞοϓͳͲͳͲ
  23. How software is built % For Internal Only - Confidential

    / 2015 23 & ։ൃϑϩʔͷத৺ B U I L D C O L L A B O R A T E D E P L O Y ' ( $ %
  24. Where software is built ͳͥGitHub͕ඞཁͳͷ͔ GitHub will help you in

    many ways 24 %
  25. Where software is built ιϑτ΢ΣΞ͕ੈքΛҿΈࠐΉ 25 ) ! Ϣʔβʔ͸ੈքதͲ͜ Ͱ΋ಉ͡༏ΕͨϢʔβʔ

    ମݧΛٻΊ͍ͯ·͢ ٕज़ͷਐา͕͋ΒΏΔ ࢈ۀͷ͋ΓํΛม͑ͭ ͭ͋Γ·͢ &
  26. ! Where software is built 26 * + χʔζ ͍ۤ͠ϙΠϯτ

    • ߴ͍ੜ࢈ੑ • ૉ੖Β͍͠Ϣʔβʔମݧͱߴ͍඼࣭ • ਝ଎͔ͭΠϊϕʔςΟϒͳ੡඼ • ͱͯ΋஗͘ɺ৴པग़དྷͳ͍։ൃϑϩʔ͓ΑͼϦϦʔεϑϩʔ • ίʔυϨϏϡʔ΋CI΋ͳ͘ɺσάϨ͕සൃ • ಁ໌ੑ͕௿͘ɺଞ෦ॺ͕ԿΛ͍ͯ͠Δ͔Θ͔Βͳ͍ɺंྠͷ࠶ൃ໌ ͍·։ൃݱ৔ͰԿ͕ى͖͍ͯΔͷ͔
  27. ! Where software is built Oh, man… 27 http://wolf-sheep20.tumblr.com/post/45480229605/homestuck-gif-challenge

  28. ! Where software is built But Wait! 28

  29. ! Where software is built May the Octocat be with

    you! 29
  30. Where software is built

  31. Where software is built GitHubͰͲΜͳ͜ͱ͕Ͱ͖Δͷ͔ Tips for using GitHub with

    your team 31 $
  32. ! Where software is built GitHub Flow! 32 ( ,

    - . . . Create a Branch Open a Pull Request Merge and deploy
  33. Where software is built

  34. how software is built % 34

  35. ! Where software is built 35 * , ϦεΫͳ͠Ͱ࣮ݧͰ͖Δ ϒϥϯνͷੜଘظؒΛ୹͘Ͱ͖Δ

    • ࣗ෼ͷϒϥϯν্Ͱ͸ͳΜͰ΋Ͱ͖Δ • ଞਓͷ࡞ۀΛअຐ͢ΔϦεΫ͕ͳ͍ɺଞਓʹअຐ΋͞Εͳ͍ • ϒϥϯνͷ࡞੒͸ߴ଎Ͱ҆શ͔ͭ؆୯ʹͰ͖Δ • ४උ͕Ͱ͖ͨΒ͙͢ʹϚʔδ͠ɺ͙͢ʹ࡟আͰ͖Δ • ظؒͷ௕͍ϒϥϯν͸ίϯϑϦΫτ͕ى͖΍͘͢ͳΓϚʔδ͠ʹ͍͘ • ϒϥϯνΛ࡟আ͢Δͷ΋҆શͰߴ଎ʹͰ͖Δ ϒϥϯν࡞੒͕ߴ଎Ͱ҆શ͔ͭ؆୯
  36. how software is built % 36

  37. how software is built % 37

  38. ! Where software is built Pull RequestͰٞ࿦ͱϨϏϡʔ͕Ͱ͖Δ 38 . ୭Ͱ΋ר͖ࠐΜͰ

    ։ൃͰ͖Δ ؔ܎ऀશһΛר͖ࠐΜͰ࢓༷΍ཁ݅ʹͭ ͍ͯٞ࿦͕Ͱ͖Δ ϓϩάϥϚ͚ͩͰͳ͘ɺاըऀɺઃܭऀɺ QA୲౰ऀ͸΋ͪΖΜɺHR΍๏຿ɺܦཧ ͳͲͱ΋ίϥϘϨʔγϣϯ͕Մೳ
  39. how software is built % 39

  40. ! Where software is built 40 ( , - .

    . . Create a Branch Open a Pull Request Merge and deploy
  41. how software is built % 41

  42. ! Where software is built Ϛʔδ͢Δલʹςετ͢Δ͜ͱ͕Ͱ͖Δ 42 / CI ON

    PR IS THE BEST PRACTICE ࠓ೔ʹ͓͍ͯɺCI͸ඞਢͷϓϥΫςΟε Pull Requestʹରͯ͠CIΛ࣮ࢪ͢Δ͜ͱ ͕ۙ೥ඞਢͱͳͬͨϕετϓϥΫςΟε ͜ΕʹΑͬͯɺίʔυϨϏϡʔʹूத͢ Δ͜ͱ͕Ͱ͖Δ
  43. ! Where software is built Pull Requestʹର͢ΔCIͬͯʁ 43 ( ,

    - MasterͱPull RequestΛ CIαʔό্ͰϚʔδͯ͠ςετ CI݁ՌΛPull Requestʹ ϑΟʔυόοΫ
  44. how software is built % 44

  45. ! Where software is built Ϛʔδʹ৚݅Λ͚ͭΔ͜ͱ͕Ͱ͖Δ 45 0 PROTECTED BRANCHES

    AND REQUIRED STATUSES Status APIΛ࢖͏͜ͱͰɺPRͷϚʔδʹ ৚݅Λ͚ͭΔ͜ͱ͕Ͱ͖Δ CIΛύε͢Δ͜ͱͰ͋ͬͨΓɺԿΒ͔ͷ νΣοΫΛ௨ա͢Δ͜ͱͰ͋ͬͨΓɻ طଘͷ3rdύʔςΟʔͷαʔϏεͷଟ͕͘ طʹରԠࡁ
  46. how software is built % 46

  47. ! Where software is built 47 ( , - .

    . . Create a Branch Open a Pull Request Merge and deploy
  48. ! Where software is built σϓϩΠͷঢ়گ΋ه࿥Ͱ͖Δ 48 1 σϓϩΠAPIΛར༻͠ ͯPRʹཤྺΛ࢒ͤΔ

    PRͷมߋ͕Ͳ͜ʹσϓϩΠ͞Εͨͷ͔ɺ ঢ়گ͸Ͳ͏ͩͬͨͷ͔ɺه࿥͕࢒Δ ޙͰݟฦ͢͜ͱ͕Մೳ
  49. how software is built % 49

  50. how software is built % 50

  51. ! Where software is built 51 ( , - .

    . . Create a Branch Open a Pull Request Merge and deploy
  52. Where software is built

  53. ! Where software is built Pull Requests୯ҐͰRevert͕Մೳ 53 2 PULL

    REQUEST୯ҐͰ REVERTͰ͖Δ Pull RequestΛϚʔδͨ͠ޙʹ໰ ୊ʹؾ͍ͮͨ৔߹ɺ͜ͷ୯ҐͰ Revert͕Մೳ Revert΋Pull RequestʹͳΓɺCI ΋࣮ࢪͰ͖Δ͠ϨϏϡʔ΋Մೳ
  54. how software is built % Pull Request͕ؔ࿈͢ΔίϛοτΛ஌͍ͬͯΔ 54 ೔ຊޠԽͨ͠ ςετ΋मਖ਼

    ؔ܎ͷͳ͍मਖ਼ REVERT Pull Request
  55. how software is built % 55

  56. ! Where software is built Pull Requestʹ͋ΒΏΔ৘ใ͕ू·Δ 56 1 ͋ΒΏΔ৘ใ͕PRʹ

    ཤྺͱͯ͠ू·Δ ίϛοτϩά΋ɺձ࿩ͷϩά΋ɺσϓϩ Πͷϩά΋Ϛʔδͷϩά΋ɺ͢΂ͯͷྲྀ ΕΛPull Requestʹू໿͢Δ͜ͱ͕Ͱ͖Δ
  57. how software is built % 57

  58. ! Where software is built BlameΛ࢖ͬͯίʔυ͔ΒPR·ͰḪΕΔ 58 3 ͍ͭ୭͕Ͳ͏มߋͨ͠ͷ͔ Λ௥੻Ͱ͖Δ

    gitͷblameΛ͞ΒʹUI্ͰΘ͔Γ ΍֬͘͢ೝͰ͖Δ ίʔυ͔ΒPR·ͰḪͬͯ֬ೝ͢ Δ͜ͱ͕Մೳ
  59. how software is built % 59

  60. Where software is built % % 60 • GitHub͸OSS͓Αͼاۀͷιϑτ΢ΣΞ։ൃΛมֵͨ͠ •

    ։ൃͷத৺ͱͳΔίϥϘϨʔγϣϯϓϥοτϑΥʔϜ • GitHub FlowͰߴ଎͔ͭߴ඼࣭ͳ։ൃ͕Մೳʹ • օ͞Μͷݱ৔ʹ΋GitHubΛಋೖ͍͖ͯ͠·͠ΐ͏
  61. Where software is built Q&A