From 9d63e4c149716149ce29e71158d9c8ab38170f3d Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Thu, 21 Jan 2021 09:21:50 +0100 Subject: [PATCH] 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 --- zuul.d/project.yaml | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index eb7e3cb15b1..7e3630bc14a 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -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.