aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-03-24 17:55:39 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-03-24 17:56:52 +0400
commit043727feabaf7cabb719dbd3d52274bcd0dbea66 (patch)
tree0235a4833984f1581fc2ba05b38b32af6c9f6b73 /tests/ci
parent4ea6acb22260ba5076857136c95a6f9223c9f7c5 (diff)
Update cirros image to latest version
Change-Id: Iffa1e4529e5b6e9664ac503a5815ea9a034d7515 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'tests/ci')
-rwxr-xr-xtests/ci/clean_images.sh2
-rwxr-xr-xtests/ci/load_images.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ci/clean_images.sh b/tests/ci/clean_images.sh
index 3579909c5..fcb2bf21f 100755
--- a/tests/ci/clean_images.sh
+++ b/tests/ci/clean_images.sh
@@ -19,7 +19,7 @@ cleanup()
return
fi
- for image in $(openstack image list | grep -e cirros-0.3.3 -e yardstick-image -e Ubuntu-14.04 \
+ for image in $(openstack image list | grep -e cirros-0.3.5 -e yardstick-image -e Ubuntu-14.04 \
| awk '{print $2}'); do
echo "Deleting image $image..."
openstack image delete $image || true
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index a326458a9..16395cb0a 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -155,7 +155,7 @@ load_cirros_image()
echo
echo "========== Loading cirros cloud image =========="
- local image_file=/home/opnfv/images/cirros-0.3.3-x86_64-disk.img
+ local image_file=/home/opnfv/images/cirros-0.3.5-x86_64-disk.img
EXTRA_PARAMS=""
# VPP requires guest memory to be backed by large pages
@@ -168,7 +168,7 @@ load_cirros_image()
--container-format bare \
${EXTRA_PARAMS} \
--file ${image_file} \
- cirros-0.3.3)
+ cirros-0.3.5)
echo "$output"
CIRROS_IMAGE_ID=$(echo "$output" | grep " id " | awk '{print $(NF-1)}')
@@ -238,7 +238,7 @@ main()
load_yardstick_image
if [ "${YARD_IMG_ARCH}" == "arm64" ]; then
sed -i 's/image: {{image}}/image: TestVM/g' tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
- sed -i 's/image: cirros-0.3.3/image: TestVM/g' samples/ping.yaml
+ sed -i 's/image: cirros-0.3.5/image: TestVM/g' samples/ping.yaml
#We have overlapping IP with the real network
for filename in tests/opnfv/test_cases/*; do
sed -i "s/cidr: '10.0.1.0\/24'/cidr: '10.3.1.0\/24'/g" "${filename}"