Add job to test with SQLAlchemy master (2.x)

Change-Id: I75c021b02187ee0b746c49eb545b79b3a40608b1
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2023-06-13 11:57:50 -07:00 committed by Julia Kreger
parent 416ea8711e
commit 8d2e93f30c
2 changed files with 20 additions and 0 deletions

View File

@ -686,6 +686,24 @@
vars:
tox_envlist: unit-with-driver-libs
# TODO(stephenfin): Remove this when we raise the upper-constraint globally
- job:
name: ironic-tox-unit-with-sqlalchemy-2x
parent: openstack-tox
description: |
Run unit tests with main branch of SQLAlchemy, alembic and oslo.db.
Takes advantage of the base tox job's install-siblings feature.
vars:
tox_envlist: py3
# The job only tests the latest and shouldn't be run on the stable branches
branches: ^(?!stable)
required-projects:
- name: github.com/sqlalchemy/sqlalchemy
override-checkout: main
- name: github.com/sqlalchemy/alembic
override-checkout: main
- name: openstack/oslo.db
- job:
name: ironic-tox-unit-mysql-migrations
parent: openstack-tox

View File

@ -10,6 +10,7 @@
check:
jobs:
- ironic-tox-unit-mysql-migrations
- ironic-tox-unit-with-sqlalchemy-2x
- ironic-tox-unit-with-driver-libs
- ironic-cross-sushy:
voting: false
@ -67,6 +68,7 @@
gate:
jobs:
- ironic-tox-unit-mysql-migrations
- ironic-tox-unit-with-sqlalchemy-2x
- ironic-tox-unit-with-driver-libs
- ironic-tempest-functional-python3
# NOTE(rpittau) disabled until we fix the tests