cinder/.zuul.yaml
ghanshyam 5408617a83 Use Tempest scenario job to run all scenario tests
Tempest has migrated the scenario job in Tempest
tree and renamed it to "tempest-scenario-all".[1]

This job runs all the Tempest scenario tests including
slow tests.

Old job running Tempest scenario test is running as experimental
in cinder[2]. That job will be removed in favor of "tempest-scenario-all"

This new job "tempest-scenario-all" will run as voting on check pipeline
where old job was running as experimental. This is fine as we want to run
all scenario tests on nova to avoid any regression.

Tempest also run "tempest-scenario-all" as voting job.

Detailed discussion on ML[3].

[1] http://git.openstack.org/cgit/openstack/tempest/tree/.zuul.yaml#n147
[2] https://git.openstack.org/cgit/openstack-infra/project-config/tree/zuul.d/projects.yaml#n3568
[3] http://lists.openstack.org/pipermail/openstack-dev/2018-May/130394.html

Change-Id: I984c9c449303effa5a3d8b754a3f4363add3dada
2018-07-19 04:26:28 +00:00

176 lines
4.8 KiB
YAML

- project:
check:
jobs:
- cinder-tempest-dsvm-lvm-lio-barbican
- cinder-tox-compliance
- cinder-tox-bandit-baseline:
voting: false
- nova-multiattach
- openstack-tox-functional-py35:
branches: ^(?!driverfixes/).*$
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-tox-lower-constraints
- cinder-tox-functional-py36
- cinder-tox-py36
- cinder-rally-task:
voting: false
- tempest-scenario-all:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/functional.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^tox.ini$
gate:
jobs:
- cinder-tox-compliance
- nova-multiattach
- openstack-tox-functional-py35:
branches: ^(?!driverfixes/).*$
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-tox-lower-constraints
experimental:
jobs:
- tempest-cinder-v2-api:
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- job:
# Previously named legacy-tempest-dsvm-full-lio
name: cinder-tempest-dsvm-lvm-lio-barbican
parent: legacy-dsvm-base
run: playbooks/legacy/cinder-tempest-dsvm-lvm-lio-barbican/run.yaml
post-run: playbooks/legacy/cinder-tempest-dsvm-lvm-lio-barbican/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/barbican
- openstack/python-barbicanclient
- openstack/tempest
- openstack/os-brick
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/functional.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^tools/.*$
- job:
# Test that all drivers follow the defined interface
name: cinder-tox-compliance
parent: openstack-tox
timeout: 2400
vars:
tox_envlist: compliance
required-projects:
- openstack/requirements
files:
- ^cinder/volume/driver.py
- ^cinder/volume/drivers/.*$
- ^cinder/interface/.*$
- ^cinder/backup/.*$
- ^cinder/zonemanager/.*$
- job:
# Security testing for known issues
name: cinder-tox-bandit-baseline
parent: openstack-tox
timeout: 2400
vars:
tox_envlist: bandit-baseline
required-projects:
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/functional.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- job:
# Testing running on bionic
name: cinder-tox-functional-py36
parent: openstack-tox
nodeset: ubuntu-bionic
vars:
tox_envlist: functional-py36
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/unit.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^tools/.*$
- job:
# Testing running on bionic
name: cinder-tox-py36
parent: openstack-tox
nodeset: ubuntu-bionic
vars:
tox_envlist: py36
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^cinder/hacking/.*$
- ^cinder/locale/.*$
- ^cinder/tests/functional.*$
- ^contrib/block-box.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^tools/.*$
- job:
name: cinder-rally-task
parent: rally-task-cinder
timeout: 7800
vars:
devstack_plugins:
rally-openstack: https://git.openstack.org/openstack/rally-openstack
rally_task: rally-jobs/cinder.yaml
required-projects:
- openstack/rally-openstack