Merge "Add 10.1 and queens to the release mapping"

This commit is contained in:
Zuul 2018-02-07 17:52:05 +00:00 committed by Gerrit Code Review
commit 9a8eef1279
2 changed files with 16 additions and 6 deletions
doc/source/contributor
ironic/common

@ -61,9 +61,6 @@ Things to do before releasing
<https://github.com/openstack/ironic/blob/54efd312395a56cbeee5c556df34afd8153c8076/ironic/tests/unit/common/test_release_mappings.py#L68>`_
and grenade that tests new-release -> master) will fail.
* Regenerate the sample config file, so that the choices for the
``[DEFAULT]/pin_release_version`` configuration are accurate.
Things to do after releasing
============================
@ -119,9 +116,6 @@ We need to submit patches for changes on master to:
support upgrades between adjacent named releases, the master branch will
only support upgrades from the most recent named release to master.
* regenerate the sample config file, so that the choices for the
``[DEFAULT]/pin_release_version`` configuration are accurate.
* remove any DB migration scripts from ``ironic.cmd.dbsync.ONLINE_MIGRATIONS``
and remove the corresponding code from ironic. (These migration scripts
are used to migrate from an old release to this latest release; they

@ -120,6 +120,21 @@ RELEASE_MAPPING = {
'VolumeTarget': ['1.0'],
}
},
'10.1': {
'api': '1.38',
'rpc': '1.44',
'objects': {
'Node': ['1.23'],
'Conductor': ['1.2'],
'Chassis': ['1.3'],
'Port': ['1.7'],
'Portgroup': ['1.3'],
'Trait': ['1.0'],
'TraitList': ['1.0'],
'VolumeConnector': ['1.0'],
'VolumeTarget': ['1.0'],
}
},
'master': {
'api': '1.38',
'rpc': '1.44',
@ -150,6 +165,7 @@ RELEASE_MAPPING = {
#
# There should be at most two named mappings here.
RELEASE_MAPPING['pike'] = RELEASE_MAPPING['9.1']
RELEASE_MAPPING['queens'] = RELEASE_MAPPING['10.1']
# List of available versions with named versions first; 'master' is excluded.
RELEASE_VERSIONS = sorted(set(RELEASE_MAPPING) - {'master'}, reverse=True)