Set stage for Zed Release with 21.1

This is a pre-release commit for the Yoga release following our docs [1]

[1] https://docs.openstack.org/ironic/latest/contributor/releasing.html

We will clean-up the releasenotes and include the prelude in other patch

Change-Id: I3b8df0dce64c4ee3b20b7a714b6647d6e1ec0330
This commit is contained in:
Iury Gregory Melo Ferreira 2022-09-21 23:59:27 -03:00
parent eeeaa274cf
commit a14b3d02fe
3 changed files with 25 additions and 5 deletions

View File

@ -2,8 +2,8 @@
REST API Version History
========================
1.80 (Zed)
----------
1.80 (Zed, 21.1)
----------------------
This verison is a signifier of additional RBAC functionality allowing
a project scoped ``admin`` to create or delete nodes in Ironic.

View File

@ -490,6 +490,26 @@ RELEASE_MAPPING = {
'VolumeTarget': ['1.0'],
}
},
'21.1': {
'api': '1.80',
'rpc': '1.55',
'objects': {
'Allocation': ['1.1'],
'BIOSSetting': ['1.1'],
'Node': ['1.36'],
'NodeHistory': ['1.0'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
'Deployment': ['1.0'],
'DeployTemplate': ['1.1'],
'Port': ['1.10'],
'Portgroup': ['1.4'],
'Trait': ['1.0'],
'TraitList': ['1.0'],
'VolumeConnector': ['1.0'],
'VolumeTarget': ['1.0'],
}
},
'master': {
'api': '1.80',
'rpc': '1.55',
@ -525,9 +545,9 @@ RELEASE_MAPPING = {
#
# There should be at most two named mappings here.
# NOTE(mgoddard): remove xena prior to the zed release.
RELEASE_MAPPING['xena'] = RELEASE_MAPPING['18.2']
# NOTE(mgoddard): remove yoga prior to the antelope release.
RELEASE_MAPPING['yoga'] = RELEASE_MAPPING['20.1']
RELEASE_MAPPING['zed'] = RELEASE_MAPPING['21.1']
# 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', 'yoga', 'xena'}),
- {'master', 'zed', 'yoga'}),
reverse=True)