neutron-fwaas/.zuul.yaml
caoyuan feb290fa19 Drop Python 2 Support
1. It's Ussuri. We can *finally* stop testing Python 2 [1]. Time to party.
We don't attempt any cleanup but simply stop testing with Python 2,
indicate that we only support Python 3 via 'setup.cfg' and remove any
Python 2 only dependencies.

This should free up a significant amount of resources from the gate and
let us start using Python 3 idioms in our code. Win-win.

2. Cleanup basepython from individual testenv sections

3. From this point on the codebase will be incompatible with python2

[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html#python2-deprecation-timeline

Change-Id: Ia08c363263aaa406d0bf55e10ce8258695387578
2020-01-22 10:53:44 -05:00

73 lines
2.4 KiB
YAML

- project:
templates:
- check-requirements
- openstack-cover-jobs-neutron
- openstack-lower-constraints-jobs-neutron
- openstack-python3-ussuri-jobs-neutron
- periodic-stable-jobs-neutron
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- neutron-fwaas-functional
- neutron-tempest-plugin-fwaas
- neutron-fwaas-v2-dsvm-tempest-multinode:
voting: false
gate:
jobs:
- neutron-fwaas-functional
- neutron-tempest-plugin-fwaas
experimental:
jobs:
- neutron-fwaas-fullstack
- job:
name: neutron-fwaas-functional
parent: neutron-functional
vars:
project_name: neutron-fwaas
- job:
name: neutron-fwaas-fullstack
parent: neutron-fullstack
vars:
project_name: neutron-fwaas
- job:
name: neutron-fwaas-v2-dsvm-tempest-multinode
parent: tempest-multinode-full-py3
roles:
- zuul: openstack/devstack
required-projects:
- openstack/devstack-gate
- openstack/neutron
- openstack/neutron-fwaas
- openstack/neutron-tempest-plugin
- openstack/tempest
vars:
tox_envlist: all-plugin
tempest_test_regex: ^neutron_tempest_plugin\.fwaas
devstack_plugins:
neutron: https://opendev.org/openstack/neutron.git
neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
devstack_services:
q-fwaas-v2: true
devstack_localrc:
NETWORK_API_EXTENSIONS: "agent,binding,dhcp_agent_scheduler,external-net,ext-gw-mode,extra_dhcp_opts,quotas,router,security-group,subnet_allocation,network-ip-availability,auto-allocated-topology,timestamp_core,tag,service-type,rbac-policies,standard-attr-description,pagination,sorting,project-id,fwaas_v2"
group-vars:
subnode:
devstack_services:
q-agt: true
devstack_localrc:
USE_PYTHON3: true
devstack_local_conf:
post-config:
# NOTE(slaweq): We can get rid of this hardcoded absolute path when
# devstack-tempest job will be switched to use lib/neutron instead of
# lib/neutron-legacy
"/$NEUTRON_CORE_PLUGIN_CONF":
ovs:
tunnel_bridge: br-tun
bridge_mappings: public:br-ex