Merge pull request #260 from ajkavanagh/multi-lts-image-for-octavia
The octavia tests require multiple LTS images
This commit is contained in:
@@ -26,6 +26,12 @@ import zaza.openstack.utilities.openstack as openstack
|
||||
import zaza.openstack.configure.guest
|
||||
|
||||
|
||||
def ensure_lts_images():
|
||||
"""Ensure that bionic and focal images are available for the tests."""
|
||||
glance_setup.add_lts_image(image_name='bionic', release='bionic')
|
||||
glance_setup.add_lts_image(image_name='focal', release='focal')
|
||||
|
||||
|
||||
def add_amphora_image(image_url=None):
|
||||
"""Add Octavia ``amphora`` test image to glance.
|
||||
|
||||
|
||||
@@ -72,7 +72,9 @@ CIRROS_RELEASE_URL = 'http://download.cirros-cloud.net/version/released'
|
||||
CIRROS_IMAGE_URL = 'http://download.cirros-cloud.net'
|
||||
UBUNTU_IMAGE_URLS = {
|
||||
'bionic': ('http://cloud-images.ubuntu.com/{release}/current/'
|
||||
'{release}-server-cloudimg-{arch}.img')
|
||||
'{release}-server-cloudimg-{arch}.img'),
|
||||
'focal': ('http://cloud-images.ubuntu.com/{release}/current/'
|
||||
'{release}-server-cloudimg-{arch}.img'),
|
||||
}
|
||||
|
||||
CHARM_TYPES = {
|
||||
|
||||
Reference in New Issue
Block a user