Prevent CI from running on irrelevant files
We shouldn't be running tempest tests on doc-only changes.
name: os-brick-code-coverage
parent: openstack-tox-cover
timeout: 2400
- irrelevant-files:
+ irrelevant-files: &non-code-files
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- - ^setup.cfg$
- ^tools/.*$
- - ^tox.ini$
- job:
name: os-brick-src-devstack-plugin-ceph
parent: cinder-plugin-ceph-tempest
required-projects:
- opendev.org/openstack/os-brick
+ irrelevant-files: &doc-files
+ - ^.*\.rst$
+ - ^doc/.*$
+ - ^releasenotes/.*$
- job:
name: os-brick-src-tempest-lvm-lio-barbican
* legacy-tempest-dsvm-full-lio-src-os-brick
required-projects:
- opendev.org/openstack/os-brick
+ irrelevant-files: *doc-files
- job:
name: os-brick-src-tempest-nfs
parent: devstack-plugin-nfs-tempest-full
required-projects:
- opendev.org/openstack/os-brick
+ irrelevant-files: *doc-files
- job:
name: os-brick-mypy
parent: openstack-tox
vars:
tox_envlist: mypy
+ irrelevant-files: *non-code-files
