Merge "[CI] Replace deprecated regex"

This commit is contained in:
Zuul
2024-07-24 23:38:49 +00:00
committed by Gerrit Code Review

View File

@@ -277,24 +277,11 @@
parent: devstack-tempest parent: devstack-tempest
description: | description: |
Run tempest compute API tests using LVM image backend. This only runs Run tempest compute API tests using LVM image backend. This only runs
against nova/virt/libvirt/* changes. against nova/virt/libvirt/*, nova/privsep/* and .zuul.yaml changes.
# Copy irrelevant-files from nova-dsvm-multinode-base and then exclude files:
# anything that is not in nova/virt/libvirt/* or nova/privsep/*. - ^nova/virt/libvirt/.*$
irrelevant-files: - ^nova/privsep/.*$
- ^(?!.zuul.yaml)(?!nova/virt/libvirt/)(?!nova/privsep/).*$ - .zuul.yaml
- ^api-.*$
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^.git.*$
- ^doc/.*$
- ^nova/hacking/.*$
- ^nova/locale/.*$
- ^nova/tests/.*$
- ^nova/test.py$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^tox.ini$
vars: vars:
# Increase the swap size to avoid OOM errors when running the tests. # Increase the swap size to avoid OOM errors when running the tests.
configure_swap_size: 8192 configure_swap_size: 8192
@@ -337,22 +324,11 @@
# NOTE(chateaulav): due to constraints with no IDE support for aarch64, # NOTE(chateaulav): due to constraints with no IDE support for aarch64,
# tests have been limited to eliminate any items that are incompatible. # tests have been limited to eliminate any items that are incompatible.
# This is to be re-evaluated as greater support is added and defined. # This is to be re-evaluated as greater support is added and defined.
irrelevant-files: files:
- ^(?!.zuul.yaml)(?!nova/virt/libvirt/)(?!nova/objects/)(?!nova/scheduler/).*$ - ^nova/virt/libvirt/.*$
- ^api-.*$ - ^nova/objects/.*$
- ^(test-|)requirements.txt$ - ^nova/scheduler/.*$
- ^.*\.rst$ - .zuul.yaml
- ^.git.*$
- ^doc/.*$
- ^nova/hacking/.*$
- ^nova/locale/.*$
- ^nova/policies/.*$
- ^nova/tests/.*$
- ^nova/test.py$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^tox.ini$
vars: vars:
tox_envlist: all tox_envlist: all
tempest_concurrency: 4 tempest_concurrency: 4
@@ -856,11 +832,12 @@
- nova-ceph-multistore: - nova-ceph-multistore:
irrelevant-files: *nova-base-irrelevant-files irrelevant-files: *nova-base-irrelevant-files
- neutron-linuxbridge-tempest: - neutron-linuxbridge-tempest:
irrelevant-files: files:
# NOTE(mriedem): This job has its own irrelevant-files section # NOTE(mriedem): This job has its own irrelevant-files section
# so that we only run it on changes to networking and libvirt/vif # so that we only run it on changes to networking and libvirt/vif
# code; we don't need to run this on all changes. # code; we don't need to run this on all changes.
- ^(?!nova/network/.*)(?!nova/virt/libvirt/vif.py).*$ - ^nova/network/.*$
- nova/virt/libvirt/vif.py
- nova-live-migration - nova-live-migration
- nova-live-migration-ceph - nova-live-migration-ceph
- nova-lvm - nova-lvm
@@ -910,11 +887,12 @@
- nova-ceph-multistore: - nova-ceph-multistore:
irrelevant-files: *nova-base-irrelevant-files irrelevant-files: *nova-base-irrelevant-files
- neutron-linuxbridge-tempest: - neutron-linuxbridge-tempest:
irrelevant-files: files:
# NOTE(mriedem): This job has its own irrelevant-files section # NOTE(mriedem): This job has its own irrelevant-files section
# so that we only run it on changes to networking and libvirt/vif # so that we only run it on changes to networking and libvirt/vif
# code; we don't need to run this on all changes. # code; we don't need to run this on all changes.
- ^(?!nova/network/.*)(?!nova/virt/libvirt/vif.py).*$ - ^nova/network/.*$
- nova/virt/libvirt/vif.py
- tempest-integrated-compute: - tempest-integrated-compute:
irrelevant-files: *policies-irrelevant-files irrelevant-files: *policies-irrelevant-files
- tempest-integrated-compute-enforce-scope-new-defaults: - tempest-integrated-compute-enforce-scope-new-defaults: