From 722fca928dc7e04705bc148e40135064d6566e8d Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Thu, 27 Jan 2022 18:13:47 +0530 Subject: [PATCH] Update irrelevant-files for non scenario jobs Update irrelevant-files for non scenario jobs to avoid unnecessary jobs, like skip ovs/linuxbridge jobs on ovn related changes, same for non-ovn jobs. Also skip running these jobs on functional and fullstack tests changes. Change-Id: Id127675793cfd3b9d4e7e328fde64f8595c7b00d --- zuul.d/grenade.yaml | 13 +++++++++++++ zuul.d/rally.yaml | 13 +++++++++++++ zuul.d/tempest-multinode.yaml | 13 +++++++++++++ zuul.d/tempest-singlenode.yaml | 33 ++++++++++++++++++++++++++++----- 4 files changed, 67 insertions(+), 5 deletions(-) diff --git a/zuul.d/grenade.yaml b/zuul.d/grenade.yaml index 3b48cb79be3..c38ee370fdb 100644 --- a/zuul.d/grenade.yaml +++ b/zuul.d/grenade.yaml @@ -21,6 +21,15 @@ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ - ^neutron/plugins/ml2/drivers/ovn/.*$ + - ^neutron/services/ovn_l3/.*$ + - ^neutron/services/logapi/drivers/ovn/.*$ + - ^neutron/services/portforwarding/drivers/ovn/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/ovn/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/ovn/.*$ + - ^neutron/cmd/ovn/.*$ + - ^neutron/common/ovn/.*$ - ^vagrant/.*$ vars: devstack_services: @@ -180,6 +189,10 @@ - ^neutron/plugins/ml2/drivers/openvswitch/.*$ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/openvswitch/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/openvswitch/.*$ - ^neutron/scheduler/.*$ - ^vagrant/.*$ roles: diff --git a/zuul.d/rally.yaml b/zuul.d/rally.yaml index 0dba79ea853..6fc324e6d13 100644 --- a/zuul.d/rally.yaml +++ b/zuul.d/rally.yaml @@ -68,6 +68,15 @@ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ - ^neutron/plugins/ml2/drivers/ovn/.*$ + - ^neutron/services/ovn_l3/.*$ + - ^neutron/services/logapi/drivers/ovn/.*$ + - ^neutron/services/portforwarding/drivers/ovn/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/ovn/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/ovn/.*$ + - ^neutron/cmd/ovn/.*$ + - ^neutron/common/ovn/.*$ - job: name: neutron-ovn-rally-task @@ -102,6 +111,10 @@ - ^neutron/plugins/ml2/drivers/openvswitch/.*$ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/openvswitch/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/openvswitch/.*$ - ^neutron/scheduler/.*$ vars: devstack_plugins: diff --git a/zuul.d/tempest-multinode.yaml b/zuul.d/tempest-multinode.yaml index f279851cadc..3b9cd95b00b 100644 --- a/zuul.d/tempest-multinode.yaml +++ b/zuul.d/tempest-multinode.yaml @@ -25,6 +25,15 @@ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ - ^neutron/plugins/ml2/drivers/ovn/.*$ + - ^neutron/services/ovn_l3/.*$ + - ^neutron/services/logapi/drivers/ovn/.*$ + - ^neutron/services/portforwarding/drivers/ovn/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/ovn/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/ovn/.*$ + - ^neutron/cmd/ovn/.*$ + - ^neutron/common/ovn/.*$ - ^vagrant/.*$ vars: tox_envlist: integrated-network @@ -277,6 +286,10 @@ - ^neutron/plugins/ml2/drivers/openvswitch/.*$ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/openvswitch/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/openvswitch/.*$ - ^neutron/scheduler/.*$ roles: - zuul: zuul/zuul-jobs diff --git a/zuul.d/tempest-singlenode.yaml b/zuul.d/tempest-singlenode.yaml index 6778ace5002..8bf1828f1e6 100644 --- a/zuul.d/tempest-singlenode.yaml +++ b/zuul.d/tempest-singlenode.yaml @@ -71,6 +71,15 @@ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ - ^neutron/plugins/ml2/drivers/ovn/.*$ + - ^neutron/services/ovn_l3/.*$ + - ^neutron/services/logapi/drivers/ovn/.*$ + - ^neutron/services/portforwarding/drivers/ovn/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/ovn/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/ovn/.*$ + - ^neutron/cmd/ovn/.*$ + - ^neutron/common/ovn/.*$ - job: name: neutron-ovs-tempest-dvr @@ -100,7 +109,7 @@ - ^.*\.rst$ - ^doc/.*$ - ^neutron/locale/.*$ - - ^neutron/tests/unit/.*$ + - ^neutron/tests/.*$ - ^releasenotes/.*$ - ^setup.cfg$ - ^tools/.*$ @@ -113,6 +122,16 @@ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ - ^neutron/plugins/ml2/drivers/ovn/.*$ + - ^neutron/services/ovn_l3/.*$ + - ^neutron/services/logapi/drivers/openvswitch/.*$ + - ^neutron/services/logapi/drivers/ovn/.*$ + - ^neutron/services/portforwarding/drivers/ovn/.*$ + - ^neutron/services/qos/drivers/openvswitch/.*$ + - ^neutron/services/qos/drivers/ovn/.*$ + - ^neutron/services/trunk/drivers/openvswitch/.*$ + - ^neutron/services/trunk/drivers/ovn/.*$ + - ^neutron/cmd/ovn/.*$ + - ^neutron/common/ovn/.*$ # TODO(ralonsoh): remove this duplicated definition when "devstack" and "nova" # adopt the new name. @@ -209,7 +228,7 @@ - ^.*\.rst$ - ^doc/.*$ - ^neutron/locale/.*$ - - ^neutron/tests/unit/.*$ + - ^neutron/tests/.*$ - ^releasenotes/.*$ - ^setup.cfg$ - ^tools/.*$ @@ -280,7 +299,7 @@ - ^.*\.rst$ - ^doc/.*$ - ^neutron/locale/.*$ - - ^neutron/tests/unit/.*$ + - ^neutron/tests/.*$ - ^releasenotes/.*$ - ^setup.cfg$ - ^tools/.*$ @@ -358,7 +377,7 @@ - ^.*\.rst$ - ^doc/.*$ - ^neutron/locale/.*$ - - ^neutron/tests/unit/.*$ + - ^neutron/tests/.*$ - ^releasenotes/.*$ - ^setup.cfg$ - ^tools/.*$ @@ -463,7 +482,7 @@ - ^.*\.conf\.sample$ - ^.*\.rst$ - ^neutron/locale/.*$ - - ^neutron/tests/unit/.*$ + - ^neutron/tests/.*$ - ^tools/.*$ - ^tox.ini$ - ^neutron/agent/dhcp/.*$ @@ -481,6 +500,10 @@ - ^neutron/plugins/ml2/drivers/openvswitch/.*$ - ^neutron/plugins/ml2/drivers/macvtap/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$ + - ^neutron/services/qos/drivers/linuxbridge/.*$ + - ^neutron/services/qos/drivers/openvswitch/.*$ + - ^neutron/services/trunk/drivers/linuxbridge/.*$ + - ^neutron/services/trunk/drivers/openvswitch/.*$ - ^neutron/scheduler/.*$ # TODO(slaweq): move this to be multinode job when it will be possible in Zuul