Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 876 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 876 Bytes

vdt.versionplugin.fpm

Plugin for https://github.com/devopsconsulting/vdt.version

This plugin uses FPM. See also http://gofedora.wordpress.com/2012/04/19/easy-package-management-with-fpm/

FPM should be install as a gem using rubygems :

gem install fpm

After that you can use this plugin the following way :

version --plugin fpm -v --name <name of the package> -t <package type> -a <architecture> --prefix <prefix directory> --maintainer <maintainer> <files or directories to package>

For example, if you are using vdt.buildout :

cd src/ames.frontend
../../bin/version --plugin fpm -v --name ames.frontend -t deb -a all --prefix /usr/local/share/ames.frontend --maintainer [email protected] *

Extra arguments are passed trough FPM. Within jenkins you should use the -B flag to add the jenkins build version to the package.