3 # Add here any the actions which are required before plugin build
4 # like packages building, packages downloading from mirrors and so on.
5 # The script should return 0 if there were no errors.
10 VSPERF_REV=${VSPERF_REV:-stable/brahmaputra}
11 BUILD_FOR=${BUILD_FOR:-ubuntu}
12 DIR="$(dirname `readlink -f $0`)"
14 INCLUDE_DEPENDENCIES=${INCLUDE_DEPENDENCIES:-true}
21 git clone https://gerrit.opnfv.org/gerrit/vswitchperf
22 cd vswitchperf && git checkout ${VSPERF_REV} && cd ..
23 rm -rf vswitchperf/.git
24 tar cfvz ${DIR}/repositories/ubuntu/vswitchperf.tgz vswitchperf
27 *) echo "Not supported system"; exit 1;;
31 for system in $BUILD_FOR