File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
container-images/tcib/base/os/horizontest Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ SELENIUM_IMPLICIT_WAIT=30
2525[[ -z ${REPO_URL} ]] && REPO_URL=" https://review.opendev.org/openstack/horizon"
2626[[ -z ${HORIZON_REPO_BRANCH} ]] && HORIZON_REPO_BRANCH=" master"
2727
28+ # This function is temporarily added until tempest cleanup is implemented
29+ function clean_leftover_images {
30+ openstack image list -c Name -f value --os-cloud default | xargs -I {} openstack image delete {} --os-cloud default
31+ }
32+
2833function create_custom_resources {
2934 if ! openstack image show --os-cloud default ${IMAGE_FILE_NAME} ; then
3035 if [ ! -f " $IMAGE_FILE " ]; then
@@ -102,6 +107,7 @@ pushd horizon
102107git pull --rebase
103108git checkout ${HORIZON_REPO_BRANCH}
104109
110+ clean_leftover_images
105111create_custom_resources
106112pushd ${HORIZONTEST_DIR} /horizon/openstack_dashboard/test/integration_tests/
107113
You can’t perform that action at this time.
0 commit comments