Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

A painless self-hosted Git service: Gitea

15.099 visualizaciones

Publicado el

Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket or Gitlab. The initial development have been done on Gogs but we have forked it and named it Gitea. If you want to read more about the reasons why we have done that please read this blog post.

https://docs.gitea.io/en-us/

Publicado en: Software
  • Inicia sesión para ver los comentarios

A painless self-hosted Git service: Gitea

  1. 1. A painless self-hosted Git service: Gitea Bo-Yi Wu 2017.04.22
  2. 2. About me Full Stack & DevOps engineer at Mediatek @appleboy at GitHub, Twitter and SlideShare https://blog.wu-boy.com
  3. 3. Agenda  Git Hosting Services  What is Gitea?  Why we choose Gitea?  How to install Gitea?  Continuous Integration & Continous Delivery  How to contribute to Gitea
  4. 4. Agenda  Git Hosting Services  What is Gitea?  Why we choose Gitea?  How to install Gitea?  Continuous Integration & Continous Delivery  How to contribute to Gitea
  5. 5. Public Git Hosting Services Bitbucket GitHub Gitlab
  6. 6. Git Hosting Open source Self Host Free Private Repo UI/UX GitHub No No No ★★★ Bitbucket No Yes (Hard) Yes ★ Gitlab Yes Yes (Hard) Yes ★ Gitea Yes Yes (Easy) Yes ★★★ Public Git hosting sites
  7. 7. Agenda  Git Hosting Services  What is Gitea?  Why we choose Gitea?  How to install Gitea?  Continuous Integration & Continous Delivery  How to contribute to Gitea
  8. 8. What is Gitea? The initial development have been done on Gogs https://github.com/go-gitea/gitea
  9. 9. Purpose  Easiest  Fastest  Painless
  10. 10. Gitea hosted Gitea  Comment on commit and PR (#124)  Squash merge  Complete Protected branch (#32 #339 )  Complete notifications system (#145)  Better CI Integration (#996 (PR #1332)) https://github.com/go-gitea/gitea/issues/1029
  11. 11. Agenda  Git Hosting Services  What is Gitea?  Why we choose Gitea?  How to install Gitea?  Continuous Integration & Continous Delivery  How to contribute to Gitea
  12. 12. Free & Open Source https://github.com/go-gitea
  13. 13. Easy install than Gitlab Gitlab: https://goo.gl/YP3DF9 Gitea: https://goo.gl/GuCuQZ
  14. 14. Low memory and low cost
  15. 15. Gitea is written in Golang
  16. 16. Single Binary You don’t need to install any dependency package on your server
  17. 17. Cross Platform
  18. 18. ARM Platform
  19. 19. BPI-M64 http://www.banana-pi.org/m64.html
  20. 20. Agenda  Git Hosting Services  What is Gitea?  Why we choose Gitea?  How to install Gitea?  Continuous Integration & Continous Delivery  How to contribute to Gitea
  21. 21. Installation  Docker  Binary  Package  Source
  22. 22. Installation  Docker  Binary  Package  Source
  23. 23. http://bit.ly/install-gitea
  24. 24. Download Binary https://dl.gitea.io/gitea
  25. 25. Run the Gitea Service ./gitea web
  26. 26. First Install
  27. 27. Don’t Run Gitea as root user
  28. 28. Create git User useradd –m git
  29. 29. SSH Protocol
  30. 30. Missing https?
  31. 31. You don’t need to care about expire time of certificate file.
  32. 32. example.com { proxy / localhost:3000 } https://github.com/caddyserver/examples/tree/master/gitea
  33. 33. Easy install in 10 minute
  34. 34. One click App?
  35. 35. One click App?
  36. 36. Agenda  Git Hosting Services  What is Gitea?  Why we choose Gitea?  How to install Gitea?  Continuous Integration & Continous Delivery  How to contribute to Gitea
  37. 37. Develop Pull Request Code Review Testing Deploy
  38. 38. Gitea Jenkins
  39. 39. Jenkins Gitea Webhook Plugin https://github.com/jenkinsci/gogs-webhook-plugin
  40. 40. Agenda  Git Hosting Services  What is Gitea?  Why we choose Gitea?  How to install Gitea?  Continuous Integration & Continous Delivery  How to contribute to Gitea
  41. 41. Contribute to Gitea https://goo.gl/JiMsyA
  42. 42. Contribution Guide  Bug reports  Discuss your design  Testing before sending your pull request  Code review
  43. 43. Release Cycle make a major release every two months 2017/02/25, 2017/04/25, 2017/06/25 …
  44. 44. Join us become a maintainer contributed at least 4 accepted PRs.
  45. 45. Try it. https://try.gitea.io
  46. 46. http://bit.ly/oneday-golang 假如您對 Go 語言有興趣
  47. 47. http://bit.ly/oneday-devops 假如您對 DevOps 語言有興趣
  48. 48. Thank you Any problems?

×