summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAce Lee <liyin11@huawei.com>2017-12-04 09:07:14 +0000
committerAce Lee <liyin11@huawei.com>2017-12-28 02:42:12 +0000
commitff4ceec2efd42fb1573e4faf4fe1840121e99715 (patch)
tree6467e6b719eb0402941b0146d4a6090d9960cb70 /tests
parent363185dfe9153a67892be8544fb4b5bf8709fbbc (diff)
ansible image build improvement
JIRA: YARDSTICK-879 Add some image build vars Add automatic image build of nsb yardstick_image: ansible-playbook -e img_property="normal" -vvv -i inventory.ini build_yardstick_image.yml nsb_image_build: ansible-playbook -e img_property="nsb" -vvv -i inventory.ini build_yardstick_image.yml prepare for yardstick image uploading Change-Id: I9fdf30084511ca9a008df3b53887b06273bbd549 Signed-off-by: Ace Lee <liyin11@huawei.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ci/load_images.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index 666a78b40..80caf07ae 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -66,10 +66,7 @@ build_yardstick_image()
ANSIBLE_SCRIPTS="${0%/*}/../../ansible"
cd ${ANSIBLE_SCRIPTS} &&\
ansible-playbook \
- -e img_modify_playbook='ubuntu_server_cloudimg_modify.yml' \
- -e target_os='Ubuntu' \
- -e YARD_IMG_ARCH='amd64' \
- -e ubuntu_img_file="${QCOW_IMAGE}" \
+ -e img_property="normal" \
-vvv -i inventory.ini build_yardstick_image.yml
if [ ! -f "${QCOW_IMAGE}" ]; then