Merge pull request #2698 from flatcar/tormath1/openstack

testing/openstack: clean everything before testing
This commit is contained in:
Mathieu Tortuyaux 2025-02-27 17:00:20 +01:00 committed by GitHub
commit 9d0a356692
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,9 @@ secret_to_file config_file "${OPENSTACK_CREDS}"
openstack_keyfile=''
secret_to_file openstack_keyfile "${OPENSTACK_KEYFILE}"
# Make sure that everything is cleaned up before starting.
ore --config-file "${config_file}" openstack gc --duration 1s
# Upload the image on OpenStack dev instance.
IMAGE_ID=$(ore openstack create-image \
--name=flatcar-"${CIA_VERNUM}" \