In case if we are not using gerrit we need to re-define path
to source code. There are a number of variables that must be
defined explicitly, otherwise custom build will fail.
Example:
1) rpm
REMOTE_REPO_HOST=perestroika-repo-tst.infra.mirantis.net \
RPM_OS_REPO_PATH=mos-repos/centos/mos8.0-centos7-fuel/os/ \
PROJECT_NAME=mos \
PROJECT_VERSION=8.0 \
PACKAGENAME=openstack/fuel-agent \
SRC_PROJECT=openstack/fuel-agent \
SOURCE_BRANCH=master \
CUSTOM_SRC_PATH=~/fuel-main/build/repos/fuel-agent \
./build-fuel-rpm.sh
2) deb
REMOTE_REPO_HOST=perestroika-repo-tst.infra.mirantis.net \
DEB_REPO_PATH=/mos-repos/ubuntu/8.0/ \
DEB_DIST_NAME=mos8.0 \
COMPONENTS='main restricted' \
PROJECT_NAME=mos \
PROJECT_VERSION=8.0 \
PACKAGENAME=openstack/fuel-agent \
SRC_PROJECT=openstack/fuel-agent \
SOURCE_BRANCH=master \
CUSTOM_SRC_PATH=~/fuel-main/build/repos/fuel-agent \
./build-fuel-deb.sh
Change-Id: I95a6fa4fe8f5d1a95b68d106bead732a8d43c85e