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

This is a temporary job to ensure we are compatible (and stay
compatible) with SQLAlchemy 2.x until such a time as the
upper-constraint cap is removed (hopefully in Caracal release).

Change-Id: I4ac9df1f32c5cd71ac9bc7d4cf1eb042039d93b5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2023-07-25 10:23:58 +01:00 committed by Gregory Thiemonge
parent 390ba39638
commit 81d7d983e9
1 changed files with 18 additions and 0 deletions

View File

@ -120,6 +120,7 @@
jobs:
- octavia-tox-py39-tips
- octavia-tox-functional-py39-tips
- octavia-tox-functional-py39-sqlalchemy-tips
- job:
name: octavia-tox-py39-tips
@ -145,6 +146,23 @@
- openstack/octavia-lib
- openstack/octavia
# Temporary job until SQLAlchemy 2.0 is no longer blocked by upper-requirements
# NOTE(stephenfin): We only need functional tests since DB interactions are
# stubbed out in unit tests
- job:
name: octavia-tox-functional-py39-sqlalchemy-tips
parent: openstack-tox-functional-py39
description: |
Run tox python 3.9 functional against master of sqlalchemy and related projects
# The job only tests the latest and shouldn't be run on the stable branches
branches: ^(?!stable)
required-projects:
- name: openstack/oslo.db
- name: github.com/sqlalchemy/sqlalchemy
override-checkout: main
- name: github.com/sqlalchemy/alembic
override-checkout: main
- job:
name: octavia-amphora-image-build
parent: base