From: chenjiankun Date: Mon, 20 Mar 2017 01:37:44 +0000 (+0000) Subject: yardstick offline support X-Git-Tag: opnfv-5.0.RC1~534^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=52634e40e5668e2d8c031781d1b15b482b0511f4;p=yardstick.git yardstick offline support JIRA: YARDSTICK-597 Currently yardstick can not run offline. The reason is yardstick will pull the latest code when run in CI. Actually we need not pull the latest code because the code in yardstick is already the latest code. So I remove them. Change-Id: Ief87c529625ccaa26e758a2206318b3797bbfd74 Signed-off-by: chenjiankun --- diff --git a/docker/exec_tests.sh b/docker/exec_tests.sh index 9aee240da..5e0d30453 100755 --- a/docker/exec_tests.sh +++ b/docker/exec_tests.sh @@ -36,7 +36,7 @@ if [ ! -d $RELENG_REPO_DIR ]; then git clone $RELENG_REPO $RELENG_REPO_DIR fi cd $RELENG_REPO_DIR -git checkout master && git pull +git checkout master git_checkout $RELENG_BRANCH $RELENG_REPO echo @@ -45,7 +45,7 @@ if [ ! -d $YARDSTICK_REPO_DIR ]; then git clone $YARDSTICK_REPO $YARDSTICK_REPO_DIR fi cd $YARDSTICK_REPO_DIR -git checkout master && git pull +git checkout master git_checkout $YARDSTICK_BRANCH $YARDSTICK_REPO # setup the environment