Merge "Initialize alembic branches for TaaS repo"

This commit is contained in:
Jenkins 2016-06-03 00:49:30 +00:00 committed by Gerrit Code Review
commit c155e12dbc
6 changed files with 72 additions and 1 deletions

View File

@ -9,6 +9,9 @@ Create Date: ${create_date}
# revision identifiers, used by Alembic.
revision = ${repr(up_revision)}
down_revision = ${repr(down_revision)}
% if branch_labels:
branch_labels = ${repr(branch_labels)}
%endif
from alembic import op
import sqlalchemy as sa

View File

@ -0,0 +1 @@
80c85b675b6e

View File

@ -0,0 +1 @@
04625466c6fa

View File

@ -0,0 +1,32 @@
# Copyright 2016 VMware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""initial Newton no op contract script
Revision ID: 80c85b675b6e
Revises: start_neutron_taas
Create Date: 2016-05-06 04:58:04.510568
"""
from neutron.db.migration import cli
# revision identifiers, used by Alembic.
revision = '80c85b675b6e'
down_revision = 'start_neutron_taas'
branch_labels = (cli.CONTRACT_BRANCH,)
def upgrade():
pass

View File

@ -0,0 +1,32 @@
# Copyright 2016 VMware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""initial Newton no op expand script
Revision ID: 04625466c6fa
Revises: start_neutron_taas
Create Date: 2016-05-06 05:17:30.172181
"""
from neutron.db.migration import cli
# revision identifiers, used by Alembic.
revision = '04625466c6fa'
down_revision = 'start_neutron_taas'
branch_labels = (cli.EXPAND_BRANCH,)
def upgrade():
pass

View File

@ -18,7 +18,9 @@ whitelist_externals = find
sitepackages = True
[testenv:pep8]
commands = flake8
commands =
flake8
neutron-db-manage --subproject tap-as-a-service --database-connection sqlite:// check_migration
[testenv:venv]
commands = {posargs}