Misc changes to image-sync

Sync noble images by default now 24.04 LTS is releases.

Name the cloud 'microstack' rather than the older name used
in Charmed OpenStack.

Change-Id: Ie9fd3b3ade7c8b32613fbf3e14a74409f192ca71
This commit is contained in:
James Page 2024-05-02 08:53:59 +01:00
parent 8af11be111
commit 8de9cf38b9
No known key found for this signature in database
GPG Key ID: BFECAECBA0E7D8C3
2 changed files with 4 additions and 4 deletions

View File

@ -34,12 +34,12 @@ config:
The architectures to sync images for. Space delimited list of architectures.
type: string
release:
default: focal jammy
default: focal jammy noble
description: |
The releases to sync images for. Space delimited list of releases.
type: string
cloud-name:
default: simplestreams-glance-sync
default: microstack
description: |
The name of the cloud to sync images for.
type: string

View File

@ -98,7 +98,7 @@ class TestOISOperatorCharm(test_utils.CharmTestCase):
self.harness.charm.service_name,
"/etc/apache2/sites-enabled/http-sync.conf",
)
expect_entries = """cloud_name: simplestreams-glance-sync
expect_entries = """cloud_name: microstack
frequency: 3600
mirrors:
- content_id: '%(region)s' # Content ID choice
@ -106,7 +106,7 @@ mirrors:
hypervisor_mapping: false
image_conversion: false
item_filters:
- release~(focal|jammy)
- release~(focal|jammy|noble)
- arch~(amd64)
- ftype~(disk1.img|disk.img)
keep_items: false