From 5df5198c8b178debaf0e7190a42fa6cc2851b633 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Fri, 20 May 2016 10:35:39 +0800 Subject: Rebase to fuel 9.0 and add vagrant based build and enhance some scripts Change-Id: Id3a38d662c330cd388c6509c9d6e90409c1da6e7 Signed-off-by: Guo Ruijing --- fuel-plugin-vsperf/pre_build_hook | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'fuel-plugin-vsperf/pre_build_hook') diff --git a/fuel-plugin-vsperf/pre_build_hook b/fuel-plugin-vsperf/pre_build_hook index 12517bcc..b4da204f 100755 --- a/fuel-plugin-vsperf/pre_build_hook +++ b/fuel-plugin-vsperf/pre_build_hook @@ -7,22 +7,14 @@ set -eux -VSPERF_REV=${VSPERF_REV:-stable/brahmaputra} BUILD_FOR=${BUILD_FOR:-ubuntu} DIR="$(dirname `readlink -f $0`)" -INCLUDE_DEPENDENCIES=${INCLUDE_DEPENDENCIES:-true} - function build_pkg { case $1 in ubuntu) - cd ${DIR} - rm -rf vswitchperf - git clone https://gerrit.opnfv.org/gerrit/vswitchperf - cd vswitchperf && git checkout ${VSPERF_REV} && cd .. - rm -rf vswitchperf/.git - tar cfvz ${DIR}/repositories/ubuntu/vswitchperf.tgz vswitchperf - rm -rf vswitchperf + cd ${DIR}/.. + tar cfvz ${DIR}/repositories/ubuntu/vswitchperf.tgz . --exclude=vswitchperf.tgz ;; *) echo "Not supported system"; exit 1;; esac @@ -32,5 +24,3 @@ for system in $BUILD_FOR do build_pkg $system done - - -- cgit 1.2.3-korg