RETIRED, Application Catalog for OpenStack
Go to file
Ruslan Kamaldinov 9030bc7285 Added DB migrations on Alembic
This commit migrates Murano database migration framework from
sqlalchemy-migrate to Alembic. sqlalchemy-migrate is considered abandoned. All
other OpenStack projects are in  process of migration to Alembic or have
already finished migration.

This change doesn't preserve all the migration scripts, it merges them into a
single migration script. That's what we would do even without Alembic. It's a
common practice to squash migration scripts into a single one right after the
release.

NOTICE:
CLI command to run migrations changed. Now it looks like this:
$ murano-db-manage upgrade

Migration path:
1. Simple solution is just to re-create your database from scratch
2. You can stamp your database with revision to make Alembic think that it
   already applied the first migration:
   $ tox -e venv -- murano-db-manage --config-file etc/murano/murano.conf stamp --revision head

For usage instructions see:
murano/db/migraiton/alembic_migrations/README

This patch also adds opportunistic tests for migrations. These tests will run in
OpenStack Infrastructure jenkins slaves. It'll use real MySQL and Postgres databases.
Tests will run in a "snake walk" manner, which means that upgrade and downgrade path
will be tested.
Base for migration tests is copied from Nova. Please note, that at this moment we
cannot use code from oslo, because it is not documented and is not tested. Once
test_migrations_base appears in project 'oslo.db', we'll be able to remove our own
test_migrations_base and use the one from 'oslo.db'.

implements: blueprint alembic-migrations
Change-Id: I5aa978f7095efc57f2d6fad81b5553e1880ad931
2014-06-20 18:01:34 +04:00
contrib Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
doc/source Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
etc Add policy checks to API 2014-06-11 13:37:41 -05:00
functionaltests Fix issue with incorrect uploading packages 2014-06-10 10:15:53 +04:00
meta Adds ability to throw/catch/rethrow exceptions in MuranoPL 2014-06-12 20:48:27 +04:00
murano Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
tools Add policy checks to API 2014-06-11 13:37:41 -05:00
.gitignore Migrate unit test to testtools 2014-06-04 18:41:07 +04:00
.gitreview Update gitreview to match repo rename 2014-05-23 18:21:12 -04:00
.testr.conf Migrate unit test to testtools 2014-06-04 18:41:07 +04:00
CONTRIBUTING.rst Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
HACKING.rst Added developer documentation 2014-04-21 16:32:28 +04:00
LICENSE Added MANIFEST.in and LICENSE 2013-05-31 16:18:01 +04:00
MANIFEST.in Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
README.rst Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
babel.cfg Removed all projects except Glazier Api 2013-04-09 13:25:02 +04:00
common.inc Code update 2014-05-27 13:31:40 +04:00
openstack-common.conf Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
requirements.txt Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
run_tests.sh Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
setup.cfg Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
setup.py Update requirements to match havana's ones. 2013-10-29 13:16:24 +04:00
setup.sh add pid directory deletion in murano setup script 2014-06-05 12:20:37 +04:00
test-requirements.txt Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
tox.ini Migrate unit test to testtools 2014-06-04 18:41:07 +04:00

README.rst

Murano

Murano Project introduces an application catalog, which allows application developers and cloud administrators to publish various cloud-ready applications in a browsable categorised catalog, which may be used by the cloud users (including the inexperienced ones) to pick-up the needed applications and services and composes the reliable environments out of them in a "push-the-button" manner.

Project Resources

Project status, bugs, and blueprints are tracked on Launchpad:

https://launchpad.net/murano

Developer documentation can be found here:

https://murano.readthedocs.org

Additional resources are linked from the project wiki page:

https://wiki.openstack.org/wiki/Murano

License

Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0