diff --git a/zuul.d/ironic-inspector-jobs.yaml b/zuul.d/ironic-inspector-jobs.yaml index 25b0277c5..b03ca54d6 100644 --- a/zuul.d/ironic-inspector-jobs.yaml +++ b/zuul.d/ironic-inspector-jobs.yaml @@ -47,6 +47,24 @@ ironic-inspector: True ironic-inspector-dhcp: True +# TODO(stephenfin): Remove this when we raise the upper-constraint globally +- job: + name: ironic-inspector-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: ^master$ + 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-inspector-tempest-managed-non-standalone description: The boot is managed by ironic, ironic-inspector runs in non-standalone mode. diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 049454b2e..22d89962f 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -7,6 +7,7 @@ - release-notes-jobs-python3 check: jobs: + - ironic-inspector-tox-unit-with-sqlalchemy-2x - ironic-inspector-grenade - ironic-inspector-tempest - ironic-inspector-tempest-discovery @@ -17,6 +18,7 @@ voting: false gate: jobs: + - ironic-inspector-tox-unit-with-sqlalchemy-2x - ironic-inspector-grenade - ironic-inspector-tempest - ironic-inspector-tempest-discovery