From 3b24c79331613d753e7157c58a531b707eea9161 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 21 Jan 2022 11:57:17 +0000 Subject: [PATCH] sql: Add initial Yoga migration branches This adds initial no-op migrations for the Yoga release and is modeled on neutron changes I3823900bc5aaf7757c37edb804027cf4d9c757ab (which created the '$RELEASE/expand' and '${RELEASE}/contract' directory structure) and Ie4b727e55a0b1ecb12e915a0037094a928d8f975 (which created the 'EXPAND_HEAD' and 'CONTRACT_HEAD' files. Change-Id: If71cb5f1323762c7e2110942e9558f9c69e3bcb2 Signed-off-by: Stephen Finucane --- .../sql/migrations/versions/CONTRACT_HEAD | 1 + .../sql/migrations/versions/EXPAND_HEAD | 1 + .../yoga/contract/e25ffa003242_initial.py | 27 +++++++++++++++++++ .../yoga/expand/29e87d24a316_initial.py | 27 +++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 keystone/common/sql/migrations/versions/CONTRACT_HEAD create mode 100644 keystone/common/sql/migrations/versions/EXPAND_HEAD create mode 100644 keystone/common/sql/migrations/versions/yoga/contract/e25ffa003242_initial.py create mode 100644 keystone/common/sql/migrations/versions/yoga/expand/29e87d24a316_initial.py diff --git a/keystone/common/sql/migrations/versions/CONTRACT_HEAD b/keystone/common/sql/migrations/versions/CONTRACT_HEAD new file mode 100644 index 0000000000..8dc296b9c2 --- /dev/null +++ b/keystone/common/sql/migrations/versions/CONTRACT_HEAD @@ -0,0 +1 @@ +e25ffa003242 diff --git a/keystone/common/sql/migrations/versions/EXPAND_HEAD b/keystone/common/sql/migrations/versions/EXPAND_HEAD new file mode 100644 index 0000000000..b2bd55d17e --- /dev/null +++ b/keystone/common/sql/migrations/versions/EXPAND_HEAD @@ -0,0 +1 @@ +29e87d24a316 diff --git a/keystone/common/sql/migrations/versions/yoga/contract/e25ffa003242_initial.py b/keystone/common/sql/migrations/versions/yoga/contract/e25ffa003242_initial.py new file mode 100644 index 0000000000..bb36d3b2b8 --- /dev/null +++ b/keystone/common/sql/migrations/versions/yoga/contract/e25ffa003242_initial.py @@ -0,0 +1,27 @@ +# 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 no-op Yoga contract migration. + +Revision ID: e25ffa003242 +Revises: 27e647c0fad4 +Create Date: 2022-01-21 00:00:00.000000 +""" + +# revision identifiers, used by Alembic. +revision = 'e25ffa003242' +down_revision = '27e647c0fad4' +branch_labels = ('contract',) + + +def upgrade(): + pass diff --git a/keystone/common/sql/migrations/versions/yoga/expand/29e87d24a316_initial.py b/keystone/common/sql/migrations/versions/yoga/expand/29e87d24a316_initial.py new file mode 100644 index 0000000000..8fd4c5a84d --- /dev/null +++ b/keystone/common/sql/migrations/versions/yoga/expand/29e87d24a316_initial.py @@ -0,0 +1,27 @@ +# 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 no-op Yoga expand migration. + +Revision ID: 29e87d24a316 +Revises: 27e647c0fad4 +Create Date: 2022-01-21 00:00:00.000000 +""" + +# revision identifiers, used by Alembic. +revision = '29e87d24a316' +down_revision = '27e647c0fad4' +branch_labels = ('expand',) + + +def upgrade(): + pass