From 81d7d983e9454f1747b50850a4425d43cc782699 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 25 Jul 2023 10:23:58 +0100 Subject: [PATCH] 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 --- zuul.d/jobs.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 4453bf847b..3816dc709d 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -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