From e216f2116a5c454a0a8475ead7b0b8ade7af5e45 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. Conflicts: zuul.d/project.yaml Change-Id: I7950de04c497b14d9225abe6584b7bb7d056f79c (cherry picked from commit 9d63e4c149716149ce29e71158d9c8ab38170f3d) --- zuul.d/project.yaml | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index a3f9979913f..29c782b1624 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -13,15 +13,7 @@ - release-notes-jobs-python3 check: jobs: - - neutron-functional - - neutron-fullstack - - neutron-fullstack-with-uwsgi - - neutron-rally-task - - neutron-grenade-multinode - - neutron-grenade-dvr-multinode - - neutron-tempest-linuxbridge - - neutron-tempest-with-uwsgi - - tempest-integrated-networking: + - neutron-functional: # We don't run the job on things like neutron docs-only changes irrelevant-files: &irrelevant-files - ^(test-|)requirements.txt$ @@ -36,19 +28,41 @@ - ^vagrant/.*$ - ^migration/.*$ - ^devstack/.*\.sample$ + - neutron-fullstack: + irrelevant-files: *irrelevant-files + - 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-linuxbridge: + irrelevant-files: *irrelevant-files + - neutron-tempest-with-uwsgi: + irrelevant-files: *irrelevant-files + - tempest-integrated-networking: + irrelevant-files: *irrelevant-files - tempest-multinode-full-py3: voting: false irrelevant-files: *irrelevant-files - - neutron-tempest-dvr-ha-multinode-full - - neutron-tempest-iptables_hybrid + - neutron-tempest-dvr-ha-multinode-full: + irrelevant-files: *irrelevant-files + - neutron-tempest-iptables_hybrid: + irrelevant-files: *irrelevant-files - ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa: voting: false irrelevant-files: *irrelevant-files - - neutron-tempest-slow-py3 - - neutron-tempest-ipv6-only - - neutron-ovn-tempest-ovs-release + - neutron-tempest-slow-py3: + irrelevant-files: *irrelevant-files + - neutron-tempest-ipv6-only: + irrelevant-files: *irrelevant-files + - neutron-ovn-tempest-ovs-release: + irrelevant-files: *irrelevant-files - neutron-ovn-tempest-ovs-release-ipv6-only: voting: false + 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: @@ -70,6 +84,7 @@ - tripleo-ci-centos-8-content-provider - 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.