[ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.
patrole is ready with python 3 and ok to drop the
python 2.7 support.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: Ied5cfb29363401d713c21fc579f30e1ef9c1210f
diff --git a/.zuul.yaml b/.zuul.yaml
index 8b8a94b..41d2d33 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -36,7 +36,7 @@
- job:
name: patrole-base-multinode
- parent: tempest-multinode-full
+ parent: tempest-multinode-full-py3
description: |-
Patrole base job for multinode and "slow" tests where "slow" tests include:
@@ -97,6 +97,9 @@
name: patrole-member-stein
parent: patrole-member
override-checkout: stable/stein
+ vars:
+ devstack_localrc:
+ USE_PYTHON3: True
- job:
name: patrole-member-rocky
@@ -106,6 +109,14 @@
vars:
devstack_localrc:
TEMPEST_PLUGINS: /opt/stack/patrole
+ USE_PYTHON3: True
+ # NOTE(gmann): pin patrole for rocky
+ # job which is on Xenial node with py3.5.
+ # Patrole master need py3.6 as min version
+ # of python.
+ required-projects:
+ - name: openstack/patrole
+ override-checkout: 0.8.0
- job:
name: patrole-multinode-admin
@@ -189,8 +200,7 @@
templates:
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- - openstack-python3-train-jobs
- - openstack-python-jobs
+ - openstack-python3-ussuri-jobs
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3