commit | d7f22030df54ba025fe96e8c66c1ce66c3c313c9 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sun Jan 25 11:37:44 2015 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Jan 28 09:26:33 2015 +0000 |
tree | b7d2ff93c7169e4a5b6ecd799c71dea34ddeaa3a | |
parent | 681026e52634eb7f0061ecb1ffa093ae4fbe41cc [diff] |
Manages upgrades between versions When upgrading Gerrit we need to be careful of what we do in the before/after install scripts in order to avoid removing links after upgrade. Change-Id: I91715bf3db895518d101143f566adc0ebe1c19cb
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)