commit | 7a7cf7400982fa59add2a95581bbc37117a3dd6c | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sat Jan 17 11:16:47 2015 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Jan 20 12:51:56 2015 -0800 |
tree | 4385675e2b02f37d586278fd629a9c0c1f7440be | |
parent | f65103307d0304e2be9ef1b36a01048411c5bf64 [diff] |
FPM-based RPM/DEB skeleton for Gerrit minimal install Gerrit is installed with a self-contained config with development_become_any_account authentication. This allows to start playing with Gerrit with zero-config effort needed. Gerrit site is on /var/gerrit. Service is installed on /etc/init.d/gerrit and can be started/stopped with: /etc/init.d/gerrit start /etc/init.d/gerrit stop Gerrit configuration files are on /etc/gerrit and /etc/default/gerritcodereview whilst logs are generated on /var/log/gerrit Change-Id: Idc270101bb27178c6e1062acb31f74425931087c
This project contains the native Gerrit installation packages for the most popular platforms:
fpm subdirectory contains the Makefile to create RPM and DEB packages for a basic Gerrit installation with the following options:
_
become_
any_
accountYou need to have a Linux with the FPM utility installed. Then execute the following steps from the cloned gerrit-installer project workspace:
RPM/DEBS gets created as fpm/out/gerrit-*.(deb|rpm)
FPM Makefile allows to customise the version and URL where Gerrit war gets downloaded. By overriding the VERSION variable it is possible to build any Gerrit version that is published on Google Releases Storage http://gerrit-releases.storage.googleapis.com/.
In order to build the package for Gerrit Ver. 2.9.4:
RPM/DEBS gets created as fpm/out/gerrit-2.9.4.(deb|rpm)
Gerrit 2.11/master branch is not published on Google Releases Storage, but is available on Gerrit Build Server under the permalink: http://ci.gerritforge.com/job/Gerrit-master/lastSuccessfulBuild/artifact/buck-out/gen/gerrit.war
In order to build the package for Gerrit Ver. 2.11/master:
RPM/DEBS gets created as fpm/out/gerrit-2.11.(deb|rpm)