26
Luca Milanesio GerritForge Luca@ gerritforge.com http :// www.gerritforge.com Twitter: @gitenterprise Is Getting NATIVE

Gerrit is Getting Native with RPM, Deb and Docker

Embed Size (px)

Citation preview

Page 1: Gerrit is Getting Native with RPM, Deb and Docker

Luca MilanesioGerritForge

[email protected]://www.gerritforge.comTwitter: @gitenterprise

Is Getting NATIVE

Page 2: Gerrit is Getting Native with RPM, Deb and Docker

2

About Luca

Luca MilanesioCo-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

Page 3: Gerrit is Getting Native with RPM, Deb and Docker

3

About GerritForge

Founded in 2009 in London UK

Mission: Integrate Gerrit withthe Enterprise

Page 4: Gerrit is Getting Native with RPM, Deb and Docker

4

Agenda

Gerrit community is growing Why going native? Native binaries Docker distribution Installing a Gerrit plugin in 1 second! The Certified choice

Page 5: Gerrit is Getting Native with RPM, Deb and Docker

5

Gerrit 4 years ago

We could all fit in medium class-room

Page 6: Gerrit is Getting Native with RPM, Deb and Docker

6

Gerrit in 2015

… something like this

Page 7: Gerrit is Getting Native with RPM, Deb and Docker

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

Page 8: Gerrit is Getting Native with RPM, Deb and Docker

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

Page 9: Gerrit is Getting Native with RPM, Deb and Docker

9

Hold on, WAR set-up

wizard is quite easy

WHY on earth do we need another

packaging?

Page 10: Gerrit is Getting Native with RPM, Deb and Docker

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

Page 11: Gerrit is Getting Native with RPM, Deb and Docker

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

Page 12: Gerrit is Getting Native with RPM, Deb and Docker

12

Filling the gap

Step #1

Page 13: Gerrit is Getting Native with RPM, Deb and Docker

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

Page 14: Gerrit is Getting Native with RPM, Deb and Docker

14

Filling the gap

Step #2

Page 15: Gerrit is Getting Native with RPM, Deb and Docker

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

Page 16: Gerrit is Getting Native with RPM, Deb and Docker

16

When can I start using them?

Gerrit 2.10 and 2.11 distributed asRPM, DEB and Docker

Page 17: Gerrit is Getting Native with RPM, Deb and Docker

17

Wow, how many people used them?

Docker pulls overall:531 of CentOS 7-based2,400 of Ubuntu-based

Native packages downloads/month:189 RPMs

109 Debs downloads

Page 18: Gerrit is Getting Native with RPM, Deb and Docker

18

What about Gerrit configuration?

RPMs and Debs contain a playground-style config

Still lots of Gerrit skills needed to configure / customize it

Page 19: Gerrit is Getting Native with RPM, Deb and Docker

19

GerritForge certified distribution

Template-based configuration for common scenarios:oActive Directory oLDAPo Jira Integration and SSOo IBM Rational Team Concert Integration oGerrit with GitHub:Enterpriseo…

Page 20: Gerrit is Getting Native with RPM, Deb and Docker

20

One plugin to manage them all

Step #3

Page 21: Gerrit is Getting Native with RPM, Deb and Docker

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, …)

Page 22: Gerrit is Getting Native with RPM, Deb and Docker

22

Plugin-Manager = the lord of the plugins Why don't we have only ONE plugin pre-installed?

o Discover new pluginso Compatibility check: plugin Version vs. Gerrito One-click plugin install

Page 23: Gerrit is Getting Native with RPM, Deb and Docker

23

Discover and install plugins in 1 sec

Page 24: Gerrit is Getting Native with RPM, Deb and Docker

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

Page 25: Gerrit is Getting Native with RPM, Deb and Docker

25

Page 26: Gerrit is Getting Native with RPM, Deb and Docker

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