summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2023-04-05 13:26:50 +0100
committerStephen Finucane <stephenfin@redhat.com>2023-04-06 14:55:03 +0100
commit99cba2dd7df0bba00244120b832ac82ca51eb513 (patch)
tree0e3a298898f65aece59890732d391026609933fd
parent64e50494f219b5c06ed79f947c91cdb7f37cb0d6 (diff)
downloadoslo-db-99cba2dd7df0bba00244120b832ac82ca51eb513.tar.gz
Run unit tests against main branch of sqlalchemy, alembic
Add two new jobs to verify the main branches of these two projects. This should keep us on top of things. Change-Id: Iaa955e6d5563c97ab5cc64fe9133db63d6489a0e Depends-on: https://review.opendev.org/c/openstack/project-config/+/879549 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
-rw-r--r--.zuul.yaml48
1 files changed, 48 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index d4c4242..e2da598 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -1,5 +1,53 @@
+- job:
+ name: oslodb-tox-py38-tips
+ parent: openstack-tox-py38
+ description: |
+ Run unit tests for oslo.db with main branch of important libs.
+ Takes advantage of the base tox job's install-siblings feature.
+ # 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
+ vars:
+ # Set work dir to oslo.db so that if it's triggered by one of the
+ # other repos the tests will run in the same place
+ zuul_work_dir: src/opendev.org/openstack/oslo.db
+
+- job:
+ name: oslodb-tox-py310-tips
+ parent: openstack-tox-py310
+ description: |
+ Run unit tests for oslo.db with main branch of important libs.
+ Takes advantage of the base tox job's install-siblings feature.
+ # 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
+ vars:
+ # Set work dir to oslo.db so that if it's triggered by one of the
+ # other repos the tests will run in the same place
+ zuul_work_dir: src/opendev.org/openstack/oslo.db
+
+- project-template:
+ name: oslodb-tox-unit-tips
+ check:
+ jobs:
+ - oslodb-tox-py38-tips
+ - oslodb-tox-py310-tips
+ gate:
+ jobs:
+ - oslodb-tox-py38-tips
+ - oslodb-tox-py310-tips
+
- project:
templates:
+ - oslodb-tox-unit-tips
- check-requirements
- lib-forward-testing-python3
- openstack-python3-antelope-jobs