Successfully reported this slideshow.
Your SlideShare is downloading. ×

Gerrit is Getting Native with RPM, Deb and Docker

More Related Content

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Gerrit is Getting Native with RPM, Deb and Docker

  1. 1. Luca Milanesio GerritForge Luca@gerritforge.com http://www.gerritforge.com Twitter: @gitenterprise Is Getting NATIVE
  2. 2. 2 About Luca • Luca Milanesio Co-founder of GerritForge • over 20 years of experience in Agile Development SCM, CI and ALM worldwide • Contributor to Jenkins since 2007 (and previously Hudson) • Git SCM mentor for the Enterprise since 2009 • Contributor to Gerrit Code Review community since 2011
  3. 3. 3 About GerritForge Founded in 2009 in London UK Mission: Integrate Gerrit with the Enterprise
  4. 4. 4 Agenda  Gerrit community is growing  Why going native?  Native binaries  Docker distribution  Installing a Gerrit plugin in 1 second!  The Certified choice
  5. 5. 5 Gerrit 4 years ago We could all fit in medium class-room
  6. 6. 6 Gerrit in 2015 … something like this
  7. 7. 7 Gerrit at the beginning  All-in-one monolithic WAR  One file drop + init set-up  Limited but simple configuration  Mainly used by its developers / contributors  Maven-based (very slow) build  No plugins
  8. 8. 8 Gerrit today in numbers  Over 1.1M lines of code  Fully modular and extensible  Web, TTY, IntelliJ / Eclipse user interfaces  56 plugins and growing  Users have little knowledge of Gerrit internals  BUCK-powered (super-cool and fast) build
  9. 9. 9 Hold on, WAR set-up wizard is quite easy WHY on earth do we need another packaging?
  10. 10. 10 General growth challenges  Gerrit community gets diverse  Non-java developers are using Gerrit  Lower % of Gerrit users can understand and change the source  Companies may not have access to BUCK in their build systems
  11. 11. 11 Enterprise challenges  Gerrit managed by non-devs  More general "tools Opts" rather than gurus  Company standards in Software distribution and updates  Need of standard Enterprise Support tools
  12. 12. 12 Filling the gap Step #1
  13. 13. 13 Let's install Gerrit as any other sw package $ apt-get install gerrit $ /etc/init.d/gerrit start $ tail –f /var/log/gerrit/error_log  Does not require Gerrit-specific skills  Can be easily automated  Can be controlled / integrated with standard Sw management tools  Packages can be signed and certified
  14. 14. 14 Filling the gap Step #2
  15. 15. 15 What about Gerrit pre-installed? $ docker pull gerritforge/gerrit-centos7 $ docker run –d -p 8080:8080 gerritforge/gerrit-centos7 Gerrit in a Docker container? • "one-click" away from Amazon Cloud • Baseline for customized configs • Allows smoother migration thanks to versioned VMs
  16. 16. 16 When can I start using them? Gerrit 2.10 and 2.11 distributed as RPM, DEB and Docker
  17. 17. 17 Wow, how many people used them? Docker pulls overall: 531 of CentOS 7-based 2,400 of Ubuntu-based Native packages downloads/month: 189 RPMs 109 Debs downloads
  18. 18. 18 What about Gerrit configuration?  RPMs and Debs contain a playground-style config  Still lots of Gerrit skills needed to configure / customize it
  19. 19. 19 GerritForge certified distribution  Template-based configuration for common scenarios: oActive Directory oLDAP oJira Integration and SSO oIBM Rational Team Concert Integration oGerrit with GitHub:Enterprise o…
  20. 20. 20 One plugin to manage them all Step #3
  21. 21. 21 What about Gerrit plugins?  Plugins aren't part of Gerrit WAR (apart from 6 core plugins)  Different plugins = different maintainers  Plugins supported / compatible vs. Gerrit versions  Different plugins = different build systems (BUCK, Maven, Sbt)  Plugins hosted on different repositories (Gerrit-Review, GitHub, my-own-git.com, …)
  22. 22. 22 Plugin-Manager = the lord of the plugins  Why don't we have only ONE plugin pre-installed? o Discover new plugins o Compatibility check: plugin Version vs. Gerrit o One-click plugin install
  23. 23. 23 Discover and install plugins in 1 sec
  24. 24. 24 Introducing GerritCentral.com  More plugins / Gerrit builds and compatibility  Consistency during Gerrit migrations  GerritForge-signed and verified build  Built, loaded and smoke-tested  Option to get Enterprise Support coverage
  25. 25. 25
  26. 26. Try it on-line (with scripting): http://gerrithub.io/login Read the Gerrit book: http://gerrithub.io/book Keep in touch: http://gitenterprise.me Learn more about Gerrit with 20% OFF Book discount for Gerrit User Summit 2014 Book PROMO-CODE: LGCRB20 eBook PROMO-CODE: LGCReB20

×