From 4629476eaf97ad815b348e668c305e897503df5d Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Mon, 20 Mar 2017 01:37:44 +0000 Subject: 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 (cherry picked from commit 52634e40e5668e2d8c031781d1b15b482b0511f4) --- docker/exec_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker') 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 -- cgit 1.2.3-korg