Don't run some more complex CI jobs on unrelated changes

We don't need to run e.g. functional, fullstack and all scenario jobs
on patches which are changing e.g. only documentation or release notes
or other things like that.

This patch also removes test-requirements.txt and requirements.txt files
from that list of unrelated files as we want to run our ci jobs when
requirements are changed.

Change-Id: I7950de04c497b14d9225abe6584b7bb7d056f79c
This commit is contained in:
Slawek Kaplonski 2021-01-21 09:21:50 +01:00
parent 0afa1b24ee
commit 9d63e4c149

View File

@ -15,20 +15,9 @@
- release-notes-jobs-python3
check:
jobs:
- neutron-functional-with-uwsgi
- neutron-fullstack-with-uwsgi
- neutron-rally-task
- neutron-grenade-multinode
- neutron-grenade-dvr-multinode
- neutron-tempest-multinode-full-py3
- neutron-tempest-dvr-ha-multinode-full
- neutron-tempest-slow-py3
- neutron-tempest-ipv6-only
- neutron-tempest-with-neutron-lib-master:
voting: false
- neutron-functional-with-uwsgi:
# We don't run the job on things like neutron docs-only changes
irrelevant-files: &irrelevant-files
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^neutron/locale/.*$
@ -40,8 +29,29 @@
- ^vagrant/.*$
- ^migration/.*$
- ^devstack/.*\.sample$
- neutron-ovn-tempest-ovs-release
- neutron-ovn-tempest-ovs-release-ipv6-only
- neutron-fullstack-with-uwsgi:
irrelevant-files: *irrelevant-files
- neutron-rally-task:
irrelevant-files: *irrelevant-files
- neutron-grenade-multinode:
irrelevant-files: *irrelevant-files
- neutron-grenade-dvr-multinode:
irrelevant-files: *irrelevant-files
- neutron-tempest-multinode-full-py3:
irrelevant-files: *irrelevant-files
- neutron-tempest-dvr-ha-multinode-full:
irrelevant-files: *irrelevant-files
- neutron-tempest-slow-py3:
irrelevant-files: *irrelevant-files
- neutron-tempest-ipv6-only:
irrelevant-files: *irrelevant-files
- neutron-tempest-with-neutron-lib-master:
voting: false
irrelevant-files: *irrelevant-files
- neutron-ovn-tempest-ovs-release:
irrelevant-files: *irrelevant-files
- neutron-ovn-tempest-ovs-release-ipv6-only:
irrelevant-files: *irrelevant-files
# TODO(slaweq): add this job again to the check queue when it will be
# working fine on python 3
#- networking-midonet-tempest-aio-ml2-centos-7:
@ -49,6 +59,7 @@
# irrelevant-files: *irrelevant-files
- neutron-ovn-rally-task:
voting: false
irrelevant-files: *irrelevant-files
# TripleO jobs that deploy OVN.
# Note we don't use a project-template here, so it's easier
# to disable voting on one specific job if things go wrong.