mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 23:51:07 +02:00
Merge pull request #2698 from flatcar/tormath1/openstack
testing/openstack: clean everything before testing
This commit is contained in:
commit
9d0a356692
@ -29,6 +29,9 @@ secret_to_file config_file "${OPENSTACK_CREDS}"
|
|||||||
openstack_keyfile=''
|
openstack_keyfile=''
|
||||||
secret_to_file openstack_keyfile "${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.
|
# Upload the image on OpenStack dev instance.
|
||||||
IMAGE_ID=$(ore openstack create-image \
|
IMAGE_ID=$(ore openstack create-image \
|
||||||
--name=flatcar-"${CIA_VERNUM}" \
|
--name=flatcar-"${CIA_VERNUM}" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user