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

Visual Studio Team Services と Git / TFSUG 35th ...

Visual Studio Team Services と Git / TFSUG 35th Tokyo

『第35回 TFSUG東京 Visual Studio Team ServicesとGit,Unity Cloud Build』で講演した『Visual Studio Team ServicesとGit』

changeworld

June 15, 2016
Tweet

More Decks by changeworld

Other Decks in Technology

Transcript

  1. © 2016 Takashi Takebayashi Microsoft MVP for Visual Studio and

    Development Technologies Takashi Takebayashi(a.k.a @changeworlds) changesworlds.com Visual Studio Team ServicesͱGit ʙGit hosting serviceຖͷಛ௃ʙ ୈ35ճ TFSUG౦ژ Visual Studio Team ServicesͱGit,Unity Cloud Build
  2. © 2016 Takashi Takebayashi Takashi Takebayashi @changeworlds Microsoft MVP for

    Visual Studio and Development Technologies Blog : http://changesworlds.com/ Role : Scrum Master, Agile Coach, Biz&Tech cross-functional paradigm Writing : Build Insider(ALM, DevOps), mynavinews(TeamDev) Community : εΫϥϜಓ, TFSUGίΞϝϯό Speaker
  3. © 2016 Takashi Takebayashi How do you version control? Propose

    the most effective solution Summary Agenda
  4. © 2016 Takashi Takebayashi File server -> όʔδϣϯ؅ཧͱ͸ී௨ݺ͹ͳ͍ Subversion ->

    ձࣾ͸ͱ΋͔͘ݸਓ͸ͪͱݫ͍͠(Google Code) Well listen approach Α͘ฉ͘΍Γํ
  5. © 2016 Takashi Takebayashi File server -> όʔδϣϯ؅ཧͱ͸ී௨ݺ͹ͳ͍ Subversion ->

    ձࣾ͸ͱ΋͔͘ݸਓ͸ͪͱݫ͍͠(Google Code) DropBox, OneDrive, Google Drive Well listen approach Α͘ฉ͘΍Γํ
  6. © 2016 Takashi Takebayashi File server -> όʔδϣϯ؅ཧͱ͸ී௨ݺ͹ͳ͍ Subversion ->

    ձࣾ͸ͱ΋͔͘ݸਓ͸ͪͱݫ͍͠(Google Code) DropBox, OneDrive, Google Drive -> ιʔεҎ֎ͳΒे෼ Well listen approach Α͘ฉ͘΍Γํ
  7. © 2016 Takashi Takebayashi File server -> όʔδϣϯ؅ཧͱ͸ී௨ݺ͹ͳ͍ Subversion ->

    ձࣾ͸ͱ΋͔͘ݸਓ͸ͪͱݫ͍͠(Google Code) DropBox, OneDrive, Google Drive -> ιʔεҎ֎ͳΒे෼ Git Well listen approach Α͘ฉ͘΍Γํ
  8. © 2016 Takashi Takebayashi File server -> όʔδϣϯ؅ཧͱ͸ී௨ݺ͹ͳ͍ Subversion ->

    ձࣾ͸ͱ΋͔͘ݸਓ͸ͪͱݫ͍͠(Google Code) DropBox, OneDrive, Google Drive -> ιʔεҎ֎ͳΒे෼ Git -> ෳ਺ͷແྉϗεςΟϯάαʔϏε༗ɺओྲྀ
 ɹɹ=>GitϗεςΟϯάαʔϏεͷରൺ Well listen approach Α͘ฉ͘΍Γํ
  9. © 2016 Takashi Takebayashi $ git push Counting objects: 3,

    done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 71.09 MiB | 3.04 MiB/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: warning: See http://git.io/iEPt8g for more information. remote: warning: File centos5.7-docker.tar.xz is 71.07 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB To https://github.com/changeworld/centos.git f80ad08..6c92ff4 master -> master Warning
  10. © 2016 Takashi Takebayashi $ git push Counting objects: 3,

    done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 71.09 MiB | 3.04 MiB/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: warning: See http://git.io/iEPt8g for more information. remote: warning: File centos5.7-docker.tar.xz is 71.07 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB To https://github.com/changeworld/centos.git f80ad08..6c92ff4 master -> master Warning
  11. © 2016 Takashi Takebayashi $ git push Counting objects: 3,

    done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 169.10 MiB | 692.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: Trace: 1bef1cc8c31d41410dd0d5b2b4932a7e remote: error: See http://git.io/iEPt8g for more information. remote: error: File DockerToolbox-1.8.1c.pkg is 170.05 MB; this exceeds GitHub's file size limit of 100.00 MB To https://github.com/changeworld/centos.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://github.com/changeworld/centos.git' Error
  12. © 2016 Takashi Takebayashi $ git push Counting objects: 3,

    done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 169.10 MiB | 692.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: Trace: 1bef1cc8c31d41410dd0d5b2b4932a7e remote: error: See http://git.io/iEPt8g for more information. remote: error: File DockerToolbox-1.8.1c.pkg is 170.05 MB; this exceeds GitHub's file size limit of 100.00 MB To https://github.com/changeworld/centos.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://github.com/changeworld/centos.git' Error
  13. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒ -> Git LFSΛ࢖͏ 1GB௒ϦϙδτϦ ->

    (ܯࠂϝʔϧ͕ݏͳΒ)BitbucketΛ࢖͏ How to solve working with large files
  14. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒ -> Git LFSΛ࢖͏ 1GB௒ϦϙδτϦ ->

    (ܯࠂϝʔϧ͕ݏͳΒ)BitbucketΛ࢖͏ 2GB௒ϦϙδτϦ How to solve working with large files
  15. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒ -> Git LFSΛ࢖͏ 1GB௒ϦϙδτϦ ->

    (ܯࠂϝʔϧ͕ݏͳΒ)BitbucketΛ࢖͏ 2GB௒ϦϙδτϦ -> ??? How to solve working with large files
  16. © 2016 Takashi Takebayashi ݫີʹ͸Git hosting serviceͰ͸ͳ͍ GitҎ֎ʹTeam Foundation Version

    Controlʹ΋ରԠ͍ͯ͠Δ ҎԼͷಛ௃͕͋Δ 2.2TB͔Β10.5TBͷؒʹϦϛοτ͕͋Δ
 You can put in between 2.2TB and 10.5TB References How much data can you put on VSOnline?
 ※VSOnline͸Visual Studio Team Servicesͷچশ Visual Studio Team Services
  17. © 2016 Takashi Takebayashi ݫີʹ͸Git hosting serviceͰ͸ͳ͍ GitҎ֎ʹTeam Foundation Version

    Controlʹ΋ରԠ͍ͯ͠Δ ҎԼͷಛ௃͕͋Δ 2.2TB͔Β10.5TBͷؒʹϦϛοτ͕͋Δ
 You can put in between 2.2TB and 10.5TB References How much data can you put on VSOnline?
 ※VSOnline͸Visual Studio Team Servicesͷچশ Visual Studio Team Services
  18. © 2016 Takashi Takebayashi Visual Studio Team Services Work Item(like

    issue), Kanban: like Redmine, Trac, JIRA…etc
 operate via Excel, Web browser Build and Test and Deploy(CI, CD): like Jenkins, Fabric, Capistrano…etc Discussion, Pull request: like GitHub, GitLab, Bitbucket…etc and more
 Branch Policy, 5 FREE users, Unlimited FREE stakeholders/eligible MSDN subscribers, 
 Unlimited team projects and private code repos, 
 FREE work item tracking for all users, 
 FREE limited minutes/month of build,
 FREE limited virtual user minutes/month of load testing
  19. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ How to solve working with large files, next plan
  20. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ 1GB௒ϦϙδτϦ How to solve working with large files, next plan
  21. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ 1GB௒ϦϙδτϦ->Bitbucket or Visual Studio Team ServicesΛ࢖͏ How to solve working with large files, next plan
  22. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ 1GB௒ϦϙδτϦ->Bitbucket or Visual Studio Team ServicesΛ࢖͏ 2GB௒ϦϙδτϦ How to solve working with large files, next plan
  23. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ 1GB௒ϦϙδτϦ->Bitbucket or Visual Studio Team ServicesΛ࢖͏ 2GB௒ϦϙδτϦ->Visual Studio Team ServicesΛ࢖͏ How to solve working with large files, next plan
  24. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ 1GB௒ϦϙδτϦ->Bitbucket or Visual Studio Team ServicesΛ࢖͏ 2GB௒ϦϙδτϦ->Visual Studio Team ServicesΛ࢖͏ 2.2TB-10.5TB௒ϦϙδτϦ How to solve working with large files, next plan
  25. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ 1GB௒ϦϙδτϦ->Bitbucket or Visual Studio Team ServicesΛ࢖͏ 2GB௒ϦϙδτϦ->Visual Studio Team ServicesΛ࢖͏ 2.2TB-10.5TB௒ϦϙδτϦ->??? How to solve working with large files, next plan
  26. © 2016 Takashi Takebayashi File server Subversion DropBox, OneDrive, Google

    Drive Git GitHub Bitbucket Visual Studio Team Services Version control systems, services
  27. © 2016 Takashi Takebayashi GitHub You will not be allowed

    to push files larger than 100 MB Bitbucket Size limit 2 GB: We will disable your ability to push to the repository Visual Studio Team Services You can put in between 2.2TB and 10.5TB Git hosting services’ feature
  28. © 2016 Takashi Takebayashi 1ϑΝΠϧ͕100MB௒->Git LFS or Visual Studio Team

    ServicesΛ࢖͏ 1GB௒ϦϙδτϦ->Bitbucket or Visual Studio Team ServicesΛ࢖͏ 2GB௒ϦϙδτϦ->Visual Studio Team ServicesΛ࢖͏ 2.2TB-10.5TB௒ϦϙδτϦ->??? To use service properly αʔϏεΛ࢖͍෼͚Δ
  29. © 2016 Takashi Takebayashi Takashi Takebayashi @changeworlds Microsoft MVP for

    Visual Studio and Development Technologies Blog : http://changesworlds.com/ Role : Scrum Master, Agile Coach, Biz&Tech cross-functional paradigm Writing : Build Insider(ALM, DevOps), mynavinews(TeamDev) Community : εΫϥϜಓ, TFSUGίΞϝϯό Speaker
  30. © 2016 Takashi Takebayashi What is my disk quota? Working

    with large files What kind of limits do you have on repository/file/upload size? How much data can you put on VSOnline? References