nova: Add image clean up to rally test
Clean any images created by rally after the test is complete. Change-Id: I266d0c94959971d259742958802ffce25448eaa7
This commit is contained in:
parent
c050456bdb
commit
7d3cd164ab
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Nova
|
||||
name: nova
|
||||
version: 0.2.8
|
||||
version: 0.2.9
|
||||
home: https://docs.openstack.org/nova/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||
sources:
|
||||
|
@ -631,6 +631,10 @@ conf:
|
||||
if [ -n "$SERVERS" ]; then
|
||||
echo $SERVERS | xargs openstack server delete
|
||||
fi
|
||||
IMAGES=$(openstack image list -f value | awk '$2 ~ /^c_rally_/ { print $1 }')
|
||||
if [ -n "$IMAGES" ]; then
|
||||
echo $IMAGES | xargs openstack image delete
|
||||
fi
|
||||
tests:
|
||||
NovaAgents.list_agents:
|
||||
- runner:
|
||||
|
@ -29,4 +29,5 @@ nova:
|
||||
- 0.2.6 Added cronJob with script for archive deleted rows which cleanup databases
|
||||
- 0.2.7 Add Ussuri release support
|
||||
- 0.2.8 Fix the cron archive_deleted_rows bash script for before and max-rows values
|
||||
- 0.2.9 Add image clean up to rally test
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user