summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-03-20 01:37:44 +0000
committerJing Lu <lvjing5@huawei.com>2017-03-25 03:25:48 +0000
commit4629476eaf97ad815b348e668c305e897503df5d (patch)
treec4c281af3e8fb2262f31e05283d4334e5776f59b /docker
parentf06f083e4e8dcda48f794d256d39c32eab5ef21e (diff)
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 <chenjiankun1@huawei.com> (cherry picked from commit 52634e40e5668e2d8c031781d1b15b482b0511f4)
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/exec_tests.sh4
1 files changed, 2 insertions, 2 deletions
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