Tag the alembic migration revisions for Liberty

Previously when we had one repo with one alembic branch we would create a
milestone revision on that single branch. Now we have multiple repos and
expand/contract branches for each repo.

So from now on we tag the final revision on every branch when we make a
milestone release.

Partial-Bug: #1499033

Change-Id: I76566e33030b08479446e070f49472caa24fc600
(cherry picked from commit ec500ba285)
This commit is contained in:
Henry Gessau 2015-09-27 16:01:58 -04:00
parent c16b4ba7ec
commit 14c839564f
2 changed files with 12 additions and 2 deletions

View File

@ -21,6 +21,7 @@ Create Date: 2015-07-28 22:18:13.330846
"""
from neutron.db import migration
from neutron.db.migration import cli
@ -29,6 +30,9 @@ revision = '67c8e8d61d5'
down_revision = 'kilo'
branch_labels = (cli.CONTRACT_BRANCH,)
# milestone identifier, used by neutron-db-manage
neutron_milestone = [migration.LIBERTY]
def upgrade():
pass

View File

@ -20,12 +20,18 @@ Create Date: 2015-04-15 04:19:57.324584
"""
from alembic import op
import sqlalchemy as sa
from neutron.db import migration
# revision identifiers, used by Alembic.
revision = '4b47ea298795'
down_revision = 'c40fbb377ad'
from alembic import op
import sqlalchemy as sa
# milestone identifier, used by neutron-db-manage
neutron_milestone = [migration.LIBERTY]
new_action = sa.Enum('allow', 'deny', 'reject', name='firewallrules_action')