Merge "Initialize alembic branches for TaaS repo"
This commit is contained in:
commit
c155e12dbc
@ -9,6 +9,9 @@ Create Date: ${create_date}
|
|||||||
# revision identifiers, used by Alembic.
|
# revision identifiers, used by Alembic.
|
||||||
revision = ${repr(up_revision)}
|
revision = ${repr(up_revision)}
|
||||||
down_revision = ${repr(down_revision)}
|
down_revision = ${repr(down_revision)}
|
||||||
|
% if branch_labels:
|
||||||
|
branch_labels = ${repr(branch_labels)}
|
||||||
|
%endif
|
||||||
|
|
||||||
from alembic import op
|
from alembic import op
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
80c85b675b6e
|
@ -0,0 +1 @@
|
|||||||
|
04625466c6fa
|
@ -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
|
@ -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
|
4
tox.ini
4
tox.ini
@ -18,7 +18,9 @@ whitelist_externals = find
|
|||||||
sitepackages = True
|
sitepackages = True
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands =
|
||||||
|
flake8
|
||||||
|
neutron-db-manage --subproject tap-as-a-service --database-connection sqlite:// check_migration
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user