yardstick offline support 37/33037/1
authorchenjiankun <chenjiankun1@huawei.com>
Tue, 28 Mar 2017 07:58:49 +0000 (07:58 +0000)
committerJing Lu <lvjing5@huawei.com>
Thu, 6 Apr 2017 06:13:06 +0000 (06:13 +0000)
commitc5a35bcde80df0dd367e40b9acd7f941b33dc4bc
tree384f1e2b219625ee163b94c8184f0c400cea3872
parentd19113a5cd65f83d29ea48a3ae75cefa1d914676
yardstick offline support

JIRA: YARDSTICK-597

Currently yardstick can not run offline.
In some case this will block the process, causing yardstick job failed
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.
Also I check the environment variable and yardstick-image when fetch
openrc file and load images.

Change-Id: I797da272932ab5292aa40585c82c119aa71b8849
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
(cherry picked from commit 38df788fc4a683717a6e7cbd498fad1e7cbe7209)
tests/ci/load_images.sh
tests/ci/prepare_env.sh