diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-03-20 01:37:44 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-03-20 01:39:25 +0000 |
commit | 52634e40e5668e2d8c031781d1b15b482b0511f4 (patch) | |
tree | 672406d9d6244e13e287832992a672937eeb4628 /docker/exec_tests.sh | |
parent | 5fd91d3f700b43275170b7be148e902c5a88d2ac (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>
Diffstat (limited to 'docker/exec_tests.sh')
-rwxr-xr-x | docker/exec_tests.sh | 4 |
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 |