Add non-voting pytest-based job in the CI job

This patch adds a non-voting job 'horizon-integration-pytest'.
It is failing as of now but we are planning to fix it asap.

Change-Id: I3130314be0dfa04fbb5245d0e15e0ab299f2b543
This commit is contained in:
manchandavishal
2023-10-23 15:34:55 +05:30
parent fb1a3e88da
commit ec8bbeaf3c
2 changed files with 34 additions and 0 deletions

View File

@@ -13,6 +13,8 @@
jobs:
- horizon-selenium-headless
- horizon-integration-tests
- horizon-integration-pytest:
voting: false
- horizon-dsvm-tempest-plugin
- horizon-tox-bandit-baseline
- horizon-tempest-plugin-ipv6

View File

@@ -30,6 +30,38 @@
tox_envlist: integration
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
- job:
name: horizon-integration-pytest
parent: devstack
nodeset: devstack-single-node-debian-bullseye
pre-run: playbooks/horizon-devstack-integration/pre.yaml
run: playbooks/horizon-devstack-integration/run.yaml
post-run: playbooks/horizon-devstack-integration/post.yaml
roles:
- zuul: openstack-infra/devstack
required-projects:
- openstack/horizon
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^.*/locale/.*$
# Unit tests are not related to the integration tests
- ^horizon/test/unit/.*$
- ^openstack_auth/tests/unit/.*$
- ^openstack_dashboard/test/unit/.*$
- ^openstack_dashboard/contrib/.*/tests.py$
- ^openstack_dashboard/dashboards/.*/tests.py$
# JavaScript unit tests are not related to the integration tests
- ^openstack_dashboard/.*/[^/]*\.spec\.js$
- ^horizon/static/.*/[^/]*\.spec\.js$
vars:
devstack_services:
horizon: true
tox_envlist: integration-pytest
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
- job:
name: horizon-dsvm-tempest-plugin
parent: devstack-tempest