From ba5f556d276a5b0782220bd24ad2eae504403ddd Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Fri, 4 Feb 2022 15:21:46 -0500 Subject: [PATCH] Update migration constant Update the data migration current release to 'yoga'. Include a semver pseudo-header in this commit message so that pbr will increment the major version number, otherwise glance.tests.unit.gate.test_data_migration_version will break. Also add a reminder about this to the release cycle tasks list. Change-Id: Ibdbeb752d29afeb48628587442577ab139be9ac9 Sem-Ver: api-break --- doc/source/contributor/releasecycle.rst | 12 ++++++++++++ glance/db/migration.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/source/contributor/releasecycle.rst b/doc/source/contributor/releasecycle.rst index 7e9dd5bb1a..9fd46cf2aa 100644 --- a/doc/source/contributor/releasecycle.rst +++ b/doc/source/contributor/releasecycle.rst @@ -24,6 +24,18 @@ Between Summit and Milestone-1 #. Add any Glance-specific schedule information to the release calendar (https://review.opendev.org/#/c/505425/) +#. Update the ``CURRENT_RELEASE`` constant in ``glance/db/migration.py``. + Include a ``Sem-Ver`` pseudo-header in the commit message so that + PBR will increment the glance version number to match the release + name. + + * The value of the ``Sem-Ver`` pseudo-header must be ``api-break`` + (which is a little disconcerting) because we need to increment the + major digit in the **Glance** version number (we aren't signalling + anything about the **Images** API), and that's the constant + that pbr recognizes for this purpose. + * Example patch: https://review.opendev.org/c/openstack/glance/+/827919 + #. Focus on spec reviews to get them approved and updated early in the cycle to allow enough time for implementation. diff --git a/glance/db/migration.py b/glance/db/migration.py index 9b2151bbb9..9db8a67f72 100644 --- a/glance/db/migration.py +++ b/glance/db/migration.py @@ -29,5 +29,5 @@ db_options.set_defaults(cfg.CONF) # Migration-related constants EXPAND_BRANCH = 'expand' CONTRACT_BRANCH = 'contract' -CURRENT_RELEASE = 'xena' +CURRENT_RELEASE = 'yoga' ALEMBIC_INIT_VERSION = 'liberty'