commit | 440b0eee8f47e9348828476717390d6bdc7aa171 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sat Feb 07 21:56:04 2015 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Mar 11 09:16:34 2015 +0000 |
tree | f4f3fab084c14a8841df4b2afc405d60629e4375 | |
parent | 905786f64a486550977ccf1f5c5efa6c49a0d8ec [diff] |
Allow packager to specify the VENDOR label When a packager is going to publish the RPM/DEB on his repository he can publish his name by specifying VENDOR=xyz. The resulting RPM/DEB will include the vendor information in his meta-data. Change-Id: I96bb0d8929b6c965837d20db28324fa9a887c671
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)