glance/glance/db
Hemanth Makkapati 9859df2d1f Add expand/migrate/contract migrations for CI
This patch adds equivalent expand/migrate/contract migration scripts for
Community Images. The expand migration
'ocata_expand01_add_visibility.py' creates a new migration branch 'expand'
from the last known migration i.e., 'mitaka02'. Similarly, the contract
migration 'ocata_contract01_drop_is_public.py' creates another new
migration branch called 'contract' from the last known migration.

The data migration 'ocata_migrate01_community_images.py' migrates
all rows in the database at once. There is possibility of performance
degradation while the data migrations are running.

Change-Id: I34f5623d6804e9fe594e6b5b196ea4a162578196
Partially-Implements: blueprint database-strategy-for-rolling-upgrades
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
Depends-On: Ie839e0f240436dce7b151de5b464373516ff5a64
2017-02-02 00:16:04 +00:00
..
registry Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
simple Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
sqlalchemy Add expand/migrate/contract migrations for CI 2017-02-02 00:16:04 +00:00
__init__.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
metadata.py Provide a way to upgrade metadata definitions 2015-03-12 00:26:16 -04:00
migration.py Add expand/migrate/contract commands to glance-manage CLI 2017-02-01 23:23:11 +00:00
utils.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00