diff options
author | Ghanshyam Mann <gmann@ghanshyammann.com> | 2021-02-03 10:49:02 -0600 |
---|---|---|
committer | Ghanshyam <gmann@ghanshyammann.com> | 2021-02-08 17:06:07 +0000 |
commit | d57dd1a7c377c94d2a5880ef271936d642cb06a5 (patch) | |
tree | 9bdc41dd2904a50d91a2cb9ada1195765a65f6bd /.zuul.yaml | |
parent | de243e7a72097246a1c9be9072a4322df38927b2 (diff) | |
download | oslo-policy-d57dd1a7c377c94d2a5880ef271936d642cb06a5.tar.gz |
Add nova/neutron project unit/functional tests job in gate
We do not test the olso policy master code changes with
services unit or functional tests. Tempest job initialize
policy once and run with default rules so it will not be able
to catch all the scenario what unit or functional job does.
They initialize or override policy in parallel and sometime
that help to find the issue like
- https://bugs.launchpad.net/oslo.policy/+bug/1914095
Also this will help us to avoid any new breaking release which
is detected at the time when requirement u-c are updated
Example: https://review.opendev.org/c/openstack/requirements/+/773779
Currently this commit adds only nova & neutron testing but we can add
more service testing later.
Change-Id: Ic54b229a4bf1325adac2cab747bcd19b9f8ecb01
Diffstat (limited to '.zuul.yaml')
-rw-r--r-- | .zuul.yaml | 46 |
1 files changed, 46 insertions, 0 deletions
@@ -1,3 +1,39 @@ +- job: + name: cross-nova-tox-functional + parent: openstack-tox + description: | + Run cross-project functional tests on nova. + vars: + zuul_work_dir: src/opendev.org/openstack/nova + tox_envlist: functional + required-projects: + - openstack/nova + - openstack/oslo.policy + +- job: + name: cross-nova-tox-py38 + parent: openstack-tox + description: | + Run cross-project unit tests on nova. + vars: + zuul_work_dir: src/opendev.org/openstack/nova + tox_envlist: py38 + required-projects: + - openstack/nova + - openstack/oslo.policy + +- job: + name: cross-neutron-tox-py38 + parent: openstack-tox + description: | + Run cross-project unit tests on neutron. + vars: + zuul_work_dir: src/opendev.org/openstack/neutron + tox_envlist: py38 + required-projects: + - openstack/neutron + - openstack/oslo.policy + - project: templates: - check-requirements @@ -7,3 +43,13 @@ - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 + check: + jobs: + - cross-nova-tox-py38 + - cross-nova-tox-functional + - cross-neutron-tox-py38 + gate: + jobs: + - cross-nova-tox-py38 + - cross-nova-tox-functional + - cross-neutron-tox-py38 |