fuel-plugin-manila/pre_build_hook
Igor Gajsin c6fda073b6 install manila packages
Add manila projects as submodules and switch its to stable/mitaka.
Fix requirements to be compatible with ubuntu 14.04.
Change pre_build_hook to building deb packages from python source
code.

Change-Id: I3300c3f58d9df39ed452d64e60846fad20056fca
2016-07-27 19:59:09 +03:00

19 lines
442 B
Bash
Executable File

#!/bin/bash
# update submodules for core puppet manifests
git submodule update --remote deployment_scripts/puppet/modules/manila
function build_deb {
fpm -v $1 -s python -t deb --python-install-bin /usr/bin --python-install-lib /usr/lib/python2.7/dist-packages/ $2/setup.py
}
rm repositories/ubuntu/*
cd repositories/python
build_deb 2.1.1 manila-ui
build_deb "1:2.0.1" manila
build_deb 1.8.2 python-manilaclient
mv *.deb ../ubuntu