rpm_output_dir=$rpm_build_dir/build_output
tmp_rpm_build_dir=/home/cache/daisy4nfv
-DAISYCORE_REPO="https://git.openstack.org/openstack/daisycloud-core"
-DAISYCORE_TAG=
-
if [[ -d $tmp_rpm_build_dir ]]; then
rm -fr $tmp_rpm_build_dir
fi
cnt=$[cnt + 1]
echo -e "\n\n\n*** Starting build attempt # $cnt"
- if [[ ! -z "$DAISYCORE_TAG" ]]; then
- git clone $DAISYCORE_REPO --branch $DAISYCORE_TAG --depth 1
- else
- git clone $DAISYCORE_REPO --depth 1
- fi
+ git clone https://git.openstack.org/openstack/daisycloud-core --branch stable/pike --depth 1
cp $rpm_build_dir/code/makefile_patch.sh daisycloud-core/tools/setup
cp $rpm_build_dir/code/install_interface_patch.sh daisycloud-core/tools/setup