Fix release mappings for 2023.2

We added servicing and did not update release mappings, nor did we
update release mappings for final Ironic release of 2023.2.

Change-Id: If4c43e353eb4bba7ae62def84d74877039b170b0
This commit is contained in:
Jay Faulkner 2024-02-08 13:54:10 -08:00
parent bd7b562bc0
commit 7ca3995267
2 changed files with 24 additions and 1 deletions

View File

@ -616,6 +616,28 @@ RELEASE_MAPPING = {
'FirmwareComponent': ['1.0'],
}
},
'23.0': {
'api': '1.87',
'rpc': '1.58',
'objects': {
'Allocation': ['1.1'],
'BIOSSetting': ['1.1'],
'Node': ['1.40', '1.39', '1.38', '1.37'],
'NodeHistory': ['1.0'],
'NodeInventory': ['1.0'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
'Deployment': ['1.0'],
'DeployTemplate': ['1.1'],
'Port': ['1.11'],
'Portgroup': ['1.5'],
'Trait': ['1.0'],
'TraitList': ['1.0'],
'VolumeConnector': ['1.0'],
'VolumeTarget': ['1.0'],
'FirmwareComponent': ['1.0'],
}
},
'master': {
'api': '1.90',
'rpc': '1.59',
@ -655,6 +677,7 @@ RELEASE_MAPPING['yoga'] = RELEASE_MAPPING['20.1']
RELEASE_MAPPING['zed'] = RELEASE_MAPPING['21.1']
RELEASE_MAPPING['antelope'] = RELEASE_MAPPING['21.4']
RELEASE_MAPPING['2023.1'] = RELEASE_MAPPING['21.4']
RELEASE_MAPPING['2023.2'] = RELEASE_MAPPING['23.0']
# List of available versions with named versions first; 'master' is excluded.
RELEASE_VERSIONS = sorted(set(RELEASE_MAPPING) - {'master'}, reverse=True)

View File

@ -44,7 +44,7 @@ NUMERIC_RELEASES = sorted(
map(versionutils.convert_version_to_tuple,
set(release_mappings.RELEASE_MAPPING)
# Update the exceptions whenever needed
- {'master', '2023.1', 'antelope', 'zed', 'yoga'}),
- {'master', '2023.1', '2023.2', 'antelope', 'zed', 'yoga'}),
reverse=True)