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

Azure Reposについて

macneko-ayu
November 24, 2018

Azure Reposについて

2018/11/24 Azure DevOps Tokyo, Japan でAzure DevOps organization、プロジェクト、Azure Reposについて登壇したときの資料。

macneko-ayu

November 24, 2018
Tweet

More Decks by macneko-ayu

Other Decks in Programming

Transcript

  1. Azure Reposʹ͍ͭͯ
    Azure DevOps Tokyo, Japan
    2018/11/24
    ԣా޹࣍࿠ @macneko_ayu

    View Slide

  2. ࣗݾ঺հ
    • ԣా޹࣍࿠ @macneko_ayuʢ͜͏ͪΌΜࠇೣ·ΈΕʣ
    • iOSΞϓϦΤϯδχΞ
    • DTPͷࣗಈॲཧϓϩάϥϜͷडୗ։ൃ
    • PEAKS (ٕज़ॻΫϥ΢υϑΝϯσΟϯά)ͰiOSܥٕज़ॻͷฤू
    ‣ iOS 12 ProgrammingɺiOSΞϓϦઃܭύλʔϯೖ໳
    ‣ iOSςετશॻͷΩοΫΦϑΛ΍ͬͨ
    • ࣂ͍ೣϨϊ͘Μͷମॏ͕7.4kgʹͳΓɺয͍ͬͯΔ


    View Slide

  3. ΞδΣϯμ
    • ࠓ೔࿩͢͜ͱͷ͓͓·͔ͳؔ܎
    • Azure DevOps organization
    • ϓϩδΣΫτ
    • Azure Repos
    • Azure ReposͰͷڞಉ࡞ۀ

    View Slide

  4. ࠓ೔࿩͢͜ͱͷ͓͓·͔ͳؔ܎

    View Slide

  5. Azure DevOps organization

    View Slide

  6. Azure DevOps organizationͱ͸
    • GitHubͷOrganizationͱಉ͡Α͏ͳ΋ͷ
    • ෳ਺ͷOrganizationΛ࡞੒͢Δ͜ͱ͕Մೳ

    View Slide

  7. ࢲͷ࢖͍ํ
    • ༻్ʹ͋Θͤͯ࢖͍෼͚͍ͯΔ
    ‣ ηογϣϯࢿྉ΍ཤྺॻͳͲݸਓʹඥͮ͘΋ͷ
    ‣ ෭ۀ༻ͷ΋ͷ
    • ࢖͍෼͚͍ͯΔཧ༝͸ɺೲ඼͕ൃੜ͢Δ΋ͷ͸

    ໌ࣔతʹ੾Γ཭͓͖͍͔ͯͨ͠Β

    View Slide

  8. Azure DevOps organization
    Demo

    View Slide

  9. ϓϩδΣΫτ

    View Slide

  10. ϓϩδΣΫτͱ͸
    • Azure DevOps organizationʹؔ࿈෇͚ΒΕͨϓϩδΣΫτ
    • Azure DevOps Projectsͷ͜ͱͰ͸ͳ͍
    • Azure BoardsɺAzure ReposɺAzure Pipelinesɺ

    Azure Test PlansɺAzure ArtifactsͰߏ੒͞Ε͍ͯΔ
    ‣ Azure Reposʹ͍ͭͯ͸͜ͷ͋ͱઆ໌ɻ

    ͦͷଞͷػೳʹ͍ͭͯ͸ׂѪ
    • ࡞੒Ͱ͖ΔϓϩδΣΫτ਺ʹ੍ݶ͸ͳ͍

    View Slide

  11. ϓϩδΣΫτͷछྨ
    • ϓϥΠϕʔτϓϩδΣΫτͱύϒϦοΫϓϩδΣΫτͷ2छྨ͋Δ
    ‣ ϓϥΠϕʔτϓϩδΣΫτ͕σϑΥϧτ
    • ύϒϦοΫϓϩδΣΫτΛ࡞੒͢Δʹ͸ɺ

    Azure DevOps organizationͷઃఆΛมߋ͢Δඞཁ͕͋Δ
    ‣ Azure DevOps organizationઃఆͷPolicyʹભҠͯ͠ɺ

    ηΩϡϦςΟϙϦγʔͷAllow public projectsΛΦϯʹ͢Δ


    View Slide

  12. ϓϩδΣΫτ

    Demo

    View Slide

  13. Azure Repos

    View Slide

  14. Azure Reposͱ͸
    • Azure Repos͸όʔδϣϯίϯτϩʔϧγεςϜͷϦϙδτϦʹ

    ؔ͢Δػೳ
    ‣ GitͱTeam Foundation Version ControlʢTFVCʣͷ

    2छྨ͔Βબ΂Δ
    • ϓϥΠϕʔτϓϩδΣΫτΛ࡞੒͠ɺ

    όʔδϣϯίϯτϩʔϧγεςϜͰGitΛબ୒ͨ͠৔߹͸ɺ

    ϓϥΠϕʔτGitϦϙδτϦʹͳΔ
    ‣ ແྉϓϥϯͰ΋ϓϥΠϕʔτGitϦϙδτϦ͕ར༻Ͱ͖Δ

    View Slide

  15. Azure Reposͱ͸
    • ύϒϦοΫϓϩδΣΫτΛ࡞੒͠ɺ

    όʔδϣϯίϯτϩʔϧγεςϜͰ

    GitΛબ୒ͨ͠৔߹͸ɺ

    ύϒϦοΫGitϦϙδτϦʹͳΔ
    • ͻͱͭͷϓϩδΣΫτʹෳ਺ͷϦϙδτϦΛ࡞੒Ͱ͖Δ
    ‣ sshɺgit remoteͷѼઌ͸ϦϙδτϦ͝ͱʹҟͳΔ
    ‣ ϓϥΠϕʔτͱύϒϦοΫͷࠞࡏ͸Ͱ͖ͳ͍

    View Slide

  16. Azure Reposͱ͸
    • Pull RequestɺForkͳͲ

    GitHubͷΑ͏ʹར༻Ͱ͖Δ
    • Azure Pipelinesͱ࿈ܞ͢Δ͜ͱͰɺ

    CI/CD͕ར༻Ͱ͖Δ

    View Slide

  17. Azure Repos

    Demo

    View Slide

  18. Azure ReposͰͷ

    ڞಉ࡞ۀ

    View Slide

  19. ڞಉ࡞ۀ͢Δʹ͸
    • Azure DevOps organizationʹ

    ΞΧ΢ϯτΛট଴͠ɺͦͷΞΧ΢ϯτΛ

    ϓϩδΣΫτʹট଴͢Δ͜ͱͰɺ

    Azure ReposͰͷڞಉ࡞ۀ͕ՄೳʹͳΔ
    • ট଴ͨ͠ΞΧ΢ϯτͷΞΫηεϨϕϧΛ

    ઃఆ͢Δ

    View Slide

  20. ΞΫηεϨϕϧͱ͸
    • ΞΫηεϨϕϧ͸3छྨ
    ‣ Basic
    ‣ Stakeholder
    ‣ Visual Studio Enterprise subscription (VS Enterprise)
    • ΞΫηεϨϕϧͷׂΓ౰ͯ
    https://docs.microsoft.com/en-us/azure/devops/organizations/security/access-levels?view=vsts ΑΓൈਮ

    View Slide

  21. ΞΧ΢ϯτͷট଴ͷલఏ
    • ແྉϓϥϯͷ৔߹ɺ

    Basic access͕5ΞΧ΢ϯτ·Ͱɺ

    Stakeholder accessͰແ੍ݶʹট଴Ͱ͖Δ

    View Slide

  22. ϓϩδΣΫτͷछผʹΑΔҧ͍
    • ϓϥΠϕʔτϓϩδΣΫτͰ͸

    Basic accessͷ5ΞΧ΢ϯτͷΈ

    Azure ReposʹΞΫηεͰ͖Δ
    • ύϒϦοΫϓϩδΣΫτͰ͸

    Basic accessͷ5ΞΧ΢ϯτʹՃ͑ͯɺ

    Stakeholder accessͷΞΧ΢ϯτ͕

    Azure ReposʹΞΫηεͰ͖Δ

    View Slide

  23. Stakeholderͷݖݶ
    • ϓϥΠϕʔτϓϩδΣΫτͱύϒϦοΫϓϩδΣΫτͰҟͳΔ
    https://docs.microsoft.com/en-us/azure/devops/organizations/security/access-levels?view=vsts ΑΓൈਮ

    View Slide

  24. Azure ReposͰͷڞಉ࡞ۀ

    Demo

    View Slide

  25. ·ͱΊ

    View Slide

  26. ·ͱΊ
    • ϓϩδΣΫτͷ࡞੒਺ʹ੍ݶ͸ͳ͍
    • ແྉϓϥϯͰ΋ϓϥΠϕʔτGitϦϙδτϦ͕
    ར༻Ͱ͖Δ

    View Slide

  27. Azure ReposͳΒ
    ແྉͰ
    GitϓϥΠϕʔτϦϙδτϦ͕
    ແ੍ݶʹ࢖͑Δʂ

    View Slide

  28. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View Slide