yatinkarel
859726bc38
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
(cherry picked from commit 722fca928d
)
153 lines
4.7 KiB
YAML
153 lines
4.7 KiB
YAML
- job:
|
|
name: neutron-rally-task
|
|
parent: rally-task-neutron
|
|
timeout: 10800
|
|
vars:
|
|
devstack_localrc:
|
|
USE_PYTHON3: true
|
|
OSPROFILER_COLLECTOR: redis
|
|
OSPROFILER_HMAC_KEYS: "neutron-hmac-key-used-in-zuul-ci"
|
|
rally_task: rally-jobs/task-neutron.yaml
|
|
devstack_plugins:
|
|
osprofiler: https://opendev.org/openstack/osprofiler
|
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
|
neutron: https://opendev.org/openstack/neutron
|
|
devstack_services:
|
|
neutron-trunk: true
|
|
# Cinder services
|
|
c-api: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-vol: false
|
|
cinder: false
|
|
# Swift services
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_CONF:
|
|
DEFAULT:
|
|
enable_code_profiling: True
|
|
required-projects:
|
|
- openstack/rally
|
|
- openstack/rally-openstack
|
|
- openstack/osprofiler
|
|
irrelevant-files:
|
|
- ^(test-|)requirements.txt$
|
|
- ^releasenotes/.*$
|
|
- ^doc/.*$
|
|
- ^setup.cfg$
|
|
- ^.*\.rst$
|
|
- ^neutron/locale/.*$
|
|
- ^neutron/tests/.*$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
- ^neutron/agent/ovn/.*$
|
|
- ^neutron/agent/windows/.*$
|
|
- ^neutron/plugins/ml2/drivers/linuxbridge/.*$
|
|
- ^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/.*$
|
|
- ^zuul.d/(?!(project)).*\.yaml
|
|
|
|
- job:
|
|
name: neutron-ovn-rally-task
|
|
parent: rally-task-at-devstack
|
|
required-projects:
|
|
- name: openstack/devstack
|
|
- name: openstack/rally
|
|
- name: openstack/rally-openstack
|
|
irrelevant-files:
|
|
- ^(test-|)requirements.txt$
|
|
- ^releasenotes/.*$
|
|
- ^doc/.*$
|
|
- ^setup.cfg$
|
|
- ^.*\.rst$
|
|
- ^neutron/locale/.*$
|
|
- ^neutron/tests/.*$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
- ^neutron/agent/dhcp/.*$
|
|
- ^neutron/agent/l2/.*$
|
|
- ^neutron/agent/l3/.*$
|
|
- ^neutron/agent/metadata/.*$
|
|
- ^neutron/agent/windows/.*$
|
|
- ^neutron/agent/dhcp_agent.py
|
|
- ^neutron/agent/l3_agent.py
|
|
- ^neutron/agent/metadata_agent.py
|
|
- ^neutron/agent/resource_cache.py
|
|
- ^neutron/agent/rpc.py
|
|
- ^neutron/agent/securitygroup_rpc.py
|
|
- ^neutron/plugins/ml2/drivers/linuxbridge/.*$
|
|
- ^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/.*$
|
|
- ^zuul.d/(?!(project)).*\.yaml
|
|
vars:
|
|
devstack_plugins:
|
|
neutron: https://opendev.org/openstack/neutron
|
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
|
zuul_copy_output:
|
|
'{{ devstack_base_dir }}/data/ovs': 'logs'
|
|
extensions_to_txt:
|
|
db: true
|
|
devstack_services:
|
|
ovn-northd: true
|
|
ovn-controller: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
q-ovn-metadata-agent: true
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
q-dhcp: false
|
|
q-l3: false
|
|
q-agt: false
|
|
q-meta: false
|
|
q-metering: false
|
|
q-dns: true
|
|
# Cinder services
|
|
c-api: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-vol: false
|
|
cinder: false
|
|
# Swift services
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
devstack_localrc:
|
|
Q_AGENT: ovn
|
|
ML2_L3_PLUGIN: ovn-router,trunk
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
|
|
Q_ML2_TENANT_NETWORK_TYPE: geneve
|
|
USE_PYTHON3: true
|
|
PHYSICAL_NETWORK: public
|
|
Q_USE_PROVIDERNET_FOR_PUBLIC: true
|
|
ENABLE_CHASSIS_AS_GW: true
|
|
OVN_L3_CREATE_PUBLIC_NETWORK: true
|
|
devstack_local_conf:
|
|
post-config:
|
|
"${RALLY_CONF_DIR}/${RALLY_CONF_FILE}":
|
|
openstack:
|
|
neutron_bind_l2_agent_types: "OVN Controller Gateway agent"
|
|
rally_task: rally-jobs/task-neutron.yaml
|
|
timeout: 7800
|
|
|