neutron-vpnaas/.zuul.yaml
Akihiro Motoki 0922764db6
Fix inconsistency in requirements
The latest pip resolver started to check requirements strictly
and it detects many inconsistencies in neutron-vpnaas requirements.
Also applies the practices discussed in the mailing list [1][2].

* Drop pyflakes from requirements.txt as it is not used.
* Move document dependencies to doc/requirements.txt [1]
  and drop them from lower-constriants.txt.
* Bump MarkupSafe lower-constraint to 1.1.1
  to make it work with newer setuptools.
* Bump the minimum neutron requirement to 17.0.0 (victoria release)
  as the previous min version 13.0.0.0b2 is too old.
  Wallaby and Victoria neutron are not different much, so I think
  it is no problem to use the latest released version here.
* Dependenicy related to neutron min version bump are updated
  in requirements and lower-constraints.
  Note that eventlet 0.22.0 is used as lower-constraints as 0.21.0
  (the min requirement in neutron 17.0.0) is blocked in several libs.
* Move linter dependencies to tox.ini and drop them from
  lower-constraints.txt (pylint, pyflakes, astroid, isort)
* Drop psutil from neutron_vpnaas/tests/functional/requirements.txt
  as the specified version of psutil is too old and psutil is a dependency
  of neutron so we don't need to install it explicitly here.

In addition, hacking version is updated as hacking 0.12.0 is not compatible
with python 3.8. W504 and I202 are ignored as we do in the neutron repo.
Other new flake8 violations are fixed.

[stable/victoria only] To fully fix gates, this also drops
lower-constraints testing from this stable branch, as decided in Neutron
CI meeting [3].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019362.html
[3] http://eavesdrop.openstack.org/meetings/networking/2021/networking.2021-01-12-14.00.log.html

Change-Id: I47f6d39379b68c4d71fc4d85ebb06d97cb5a6ce2
(cherry picked from commit 7c8262cf50)
2021-08-04 20:57:39 +02:00

73 lines
2.3 KiB
YAML

- project:
templates:
- check-requirements
- openstack-cover-jobs-neutron
- openstack-python3-victoria-jobs-neutron
- periodic-stable-jobs-neutron
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- neutron-vpnaas-functional-sswan
- neutron-tempest-plugin-vpnaas-victoria
- neutron-tempest-plugin-vpnaas-libreswan-centos:
# TODO(mlavalle) switch to voting when this job is moved to Centos
# 8
voting: false
gate:
jobs:
- neutron-vpnaas-functional-sswan
- neutron-tempest-plugin-vpnaas-victoria
# TODO(mlavalle) uncomment following line when the job is moved to
# Centos 8
# - neutron-tempest-plugin-vpnaas-libreswan-centos
experimental:
jobs:
- neutron-vpnaas-rally
- job:
name: neutron-tempest-plugin-vpnaas-libreswan-centos
parent: neutron-tempest-plugin-vpnaas-victoria
nodeset: devstack-single-node-centos-7
vars:
devstack_localrc:
IPSEC_PACKAGE: libreswan
USE_PYTHON3: false
# VPNaaS 4in6 and 6in4 scenarios would fail after LibreSwan 3.18.
# Base node using Libreswan 3.20 on CentOS 7.4.
# Refer to https://github.com/libreswan/libreswan/issues/175.
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
neutron_vpnaas_plugin_options:
skip_4in6_6in4_tests: true
- job:
name: neutron-vpnaas-functional-sswan
parent: neutron-functional
pre-run: playbooks/configure_functional_job.yaml
vars:
project_name: neutron-vpnaas
tox_envlist: dsvm-functional-sswan
- job:
name: neutron-vpnaas-rally
parent: rally-task-neutron
timeout: 7800
vars:
devstack_plugins:
rally-openstack: https://opendev.org/openstack/rally-openstack
neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas
rally_task: rally-jobs/rally-configs/rally_config_dvr.yaml
required-projects:
- openstack/devstack-gate
- openstack/neutron
- openstack/neutron-vpnaas
- openstack/rally
- openstack/rally-openstack
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^neutron_vpnaas/tests/unit/.*$
- ^releasenotes/.*$