summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2022-01-21 11:57:17 +0000
committerStephen Finucane <stephenfin@redhat.com>2022-01-24 16:28:35 +0000
commit3b24c79331613d753e7157c58a531b707eea9161 (patch)
tree842c8c76200a19d3e420202049c48c4da44c926b
parentb547f6727d8dc1a4d5d64932c2a8e447c05d7b94 (diff)
downloadkeystone-3b24c79331613d753e7157c58a531b707eea9161.tar.gz
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 <stephenfin@redhat.com>
-rw-r--r--keystone/common/sql/migrations/versions/CONTRACT_HEAD1
-rw-r--r--keystone/common/sql/migrations/versions/EXPAND_HEAD1
-rw-r--r--keystone/common/sql/migrations/versions/yoga/contract/e25ffa003242_initial.py27
-rw-r--r--keystone/common/sql/migrations/versions/yoga/expand/29e87d24a316_initial.py27
4 files changed, 56 insertions, 0 deletions
diff --git a/keystone/common/sql/migrations/versions/CONTRACT_HEAD b/keystone/common/sql/migrations/versions/CONTRACT_HEAD
new file mode 100644
index 000000000..8dc296b9c
--- /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 000000000..b2bd55d17
--- /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 000000000..bb36d3b2b
--- /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 000000000..8fd4c5a84
--- /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