yardstick offline support 59/31759/1
authorchenjiankun <chenjiankun1@huawei.com>
Mon, 20 Mar 2017 01:37:44 +0000 (01:37 +0000)
committerJing Lu <lvjing5@huawei.com>
Sat, 25 Mar 2017 03:25:48 +0000 (03:25 +0000)
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 <chenjiankun1@huawei.com>
(cherry picked from commit 52634e40e5668e2d8c031781d1b15b482b0511f4)

docker/exec_tests.sh

index 9aee240..5e0d304 100755 (executable)
@@ -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