gerrit is getting native with rpm, deb and docker

Post on 13-Jan-2017

1.022 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Luca MilanesioGerritForge

Luca@gerritforge.comhttp://www.gerritforge.comTwitter: @gitenterprise

Is Getting NATIVE

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

3

About GerritForge

Founded in 2009 in London UK

Mission: Integrate Gerrit withthe Enterprise

4

Agenda

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

5

Gerrit 4 years ago

We could all fit in medium class-room

6

Gerrit in 2015

… something like this

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

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

Hold on, WAR set-up

wizard is quite easy

WHY on earth do we need another

packaging?

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

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

Filling the gap

Step #1

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

Filling the gap

Step #2

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

When can I start using them?

Gerrit 2.10 and 2.11 distributed asRPM, 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

18

What about Gerrit configuration?

RPMs and Debs contain a playground-style config

Still lots of Gerrit skills needed to configure / customize it

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…

20

One plugin to manage them all

Step #3

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

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

23

Discover and install plugins in 1 sec

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

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

top related