Retire repo

Remove CI jobs and update docs to point to alembic.

Fix docs build.

Change-Id: Ibcfb7d10f2b5098f2c7612c3f2dca54609841e85
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-09-25 11:32:34 +01:00 committed by Dr. Jens Harbott
parent 5d1f322542
commit 749b3758f5
7 changed files with 20 additions and 101 deletions

View File

@ -1,37 +1,5 @@
- project:
templates:
- docs-on-readthedocs
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python36-jobs
vars:
rtd_webhook_id: '61274'
check:
jobs:
- sqlalchemy-migrate-tox-py27sa07
- sqlalchemy-migrate-devstack:
voting: false
gate:
jobs:
- sqlalchemy-migrate-tox-py27sa07
- job:
name: sqlalchemy-migrate-tox-py27sa07
parent: tox
description: |
Run tests for sqlalchemy-migrate project.
Uses tox with the ``py27sa07`` environment.
vars:
tox_envlist: py27sa07
- job:
name: sqlalchemy-migrate-devstack
parent: legacy-dsvm-base
run: playbooks/sqlalchemy-migrate-devstack-dsvm/run.yaml
post-run: playbooks/sqlalchemy-migrate-devstack-dsvm/post.yaml
timeout: 10800
required-projects:
- openstack/devstack
- openstack/devstack-gate
- x/sqlalchemy-migrate

View File

@ -1,6 +1,14 @@
SQLAlchemy Migrate
==================
.. warning::
sqlalchemy-migrate is no longer maintained and is not compatible with
SQLAlchemy 2.x. `alembic`__ is a modern replacement that is developed and
supported by the SQLAlchemy authors.
.. __: https://alembic.sqlalchemy.org/en/latest/
Fork from http://code.google.com/p/sqlalchemy-migrate/ to get it working with
SQLAlchemy 0.8.

View File

@ -1 +1 @@
sphinx>=1.6.2,!=1.6.6 # BSD
sphinx>=1.6.2,!=1.6.6,<6 # BSD

View File

@ -181,10 +181,10 @@ htmlhelp_basename = 'SQLAlchemyMigratedoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, document class [howto/manual]).
latex_documents = [
('index', 'SQLAlchemyMigrate.tex', ur'SQLAlchemy Migrate Documentation',
ur'Evan Rosson, Jan Dittberner, Domen Kožar', 'manual'),
]
#latex_documents = [
# ('index', 'SQLAlchemyMigrate.tex', ur'SQLAlchemy Migrate Documentation',
# ur'Evan Rosson, Jan Dittberner, Domen Kožar', 'manual'),
#]
# The name of an image file (relative to this directory) to place at the top of
# the title page.

View File

@ -14,6 +14,13 @@
:License: MIT
:Version: |release|
.. warning::
sqlalchemy-migrate is no longer maintained and is not compatible with
SQLAlchemy 2.x. `alembic`__ is a modern replacement that is developed and
supported by the SQLAlchemy authors.
.. __: https://alembic.sqlalchemy.org/en/latest/
.. topic:: Overview

View File

@ -1,15 +0,0 @@
- hosts: primary
tasks:
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/logs/**
- --include=*/
- --exclude=*
- --prune-empty-dirs

View File

@ -1,49 +0,0 @@
- hosts: all
name: Autoconverted job legacy-sqlalchemy-migrate-devstack-dsvm from old job gate-sqlalchemy-migrate-devstack-dsvm-nv
tasks:
- name: Ensure legacy workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
set -e
set -x
cat > clonemap.yaml << EOF
clonemap:
- name: openstack/devstack-gate
dest: devstack-gate
EOF
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
https://opendev.org \
openstack/devstack-gate
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
export PYTHONUNBUFFERED=true
export PROJECTS="x/sqlalchemy-migrate $PROJECTS"
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export BRANCH_OVERRIDE=default
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function pre_test_hook {
cd /opt/stack/new/sqlalchemy-migrate
sudo -H pip install .
}
export -f pre_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'