Update release mappings for epoxy

Change-Id: If19e1a42f6bc699a6e3c2ca3976c1b6f04ef3bef
This commit is contained in:
Riccardo Pittau 2025-03-19 10:25:58 +01:00
parent 41707d8ab9
commit 4a6dece8eb
2 changed files with 75 additions and 1 deletions

View File

@ -771,6 +771,78 @@ RELEASE_MAPPING = {
'Runbook': ['1.0'],
}
},
'27.0': {
'api': '1.94',
'rpc': '1.61',
'objects': {
'Allocation': ['1.1'],
'BIOSSetting': ['1.1'],
'Node': ['1.41'],
'NodeHistory': ['1.0'],
'NodeInventory': ['1.0'],
'Conductor': ['1.4'],
'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'],
'Runbook': ['1.0'],
'InspectionRule': ['1.0'],
}
},
'28.0': {
'api': '1.95',
'rpc': '1.61',
'objects': {
'Allocation': ['1.1'],
'BIOSSetting': ['1.1'],
'Node': ['1.41'],
'NodeHistory': ['1.0'],
'NodeInventory': ['1.0'],
'Conductor': ['1.4'],
'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'],
'Runbook': ['1.0'],
'InspectionRule': ['1.0'],
}
},
'29.0': {
'api': '1.96',
'rpc': '1.61',
'objects': {
'Allocation': ['1.1'],
'BIOSSetting': ['1.1'],
'Node': ['1.41'],
'NodeHistory': ['1.0'],
'NodeInventory': ['1.0'],
'Conductor': ['1.4'],
'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'],
'Runbook': ['1.0'],
'InspectionRule': ['1.0'],
}
},
# NOTE(TheJulia): Items above this line are for shipped versions
# for the mappings. If your making a non-release related change,
# make it below. To release, we will preserve a version matching
@ -819,6 +891,7 @@ RELEASE_MAPPING['2023.1'] = RELEASE_MAPPING['21.4']
RELEASE_MAPPING['2023.2'] = RELEASE_MAPPING['23.0']
RELEASE_MAPPING['2024.1'] = RELEASE_MAPPING['24.1']
RELEASE_MAPPING['2024.2'] = RELEASE_MAPPING['26.1']
RELEASE_MAPPING['2025.1'] = RELEASE_MAPPING['29.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,8 @@ NUMERIC_RELEASES = sorted(
map(versionutils.convert_version_to_tuple,
set(release_mappings.RELEASE_MAPPING)
# Update the exceptions whenever needed
- {'master', '2024.1', '2023.1', '2023.2', 'antelope', 'zed', 'yoga'}),
- {'master', '2025.1', '2024.2', '2024.1', '2023.2', '2023.1',
'antelope', 'zed', 'yoga'}),
reverse=True)