Commit Graph

17 Commits

Author SHA1 Message Date
Tom Weininger 577953114e tox skipsdist seems to be problematic
Depends-On: https://review.opendev.org/c/openstack/tempest/+/868527
Change-Id: I293a52fe12972594690970b7d3bd91782b642669
2022-12-29 16:20:27 +01:00
Zuul 5486b8af92 Merge "Bump tox minversion to 3.18.0" 2022-09-12 14:15:01 +00:00
LiZekun 2d795edea0 Remove install unnecessary packages
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: I930b3602449ab75b9beceeffa346ddc05863fca5
2022-07-14 11:42:43 +00:00
Takashi Kajinami a6ccdc90d4 Bump tox minversion to 3.18.0
Since tox 3.18.0, the whitelist_externals option has been deprecated in
favor of the new allow_list_externals option[1].

This change bumps the minversion of tox so that we can replace
the deprecated option.

[1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I39e2118e01d4ea87e782b7e3ba3956d5fa57f383
2022-05-22 22:31:33 +09:00
Michael Johnson 46658f2ff8 Add duplicate uuid checking for tempest tests
This patch adds a pep8 test for duplicate uuids in the tempest tests.
It also corrects some existing duplicates.

Change-Id: I2fc03b3cc604528903b8f70ce7f1e4e641aeafd2
2020-09-13 10:39:31 -07:00
Zuul 12c7799296 Merge "Drop python 2.7 support and testing" 2020-08-26 08:46:04 +00:00
Michael Johnson a5074259fb Apply Octavia hacking checks to the tempest plugin
Currently we are not applying the custom hacking checks we use in
Octavia to the octavia-tempest-plugin. This leads to style issues
sneaking into the plugin.
This patch copies the same checks from Octavia (for simpler
management) into octavia-tempest-plugin and resolves some of the
existing style violations.

Change-Id: Ic103d8bededfec77ec0034d7c167ac1e49954a5c
2020-06-30 10:52:55 -07:00
Brian Haley 47e4589d45 Drop python 2.7 support and testing
OpenStack dropped py2.7 support in Ussuri cycle.

octavia-tempest-plugin is ready with python 3 so it's ok to drop
python 2.7 support.

Also added requirements test support to tox.ini

Modeled on similar neutron-tempest-plugin change.

Change-Id: Iba286366a8d6ce75b3a73756c5bdc70c77723232
2020-05-19 15:59:19 -04:00
Brian Haley 0ae7f108b9 Use same flake8 extensions as Octavia
Enabled the same flake8 extensions as the Octavia tree,
fixing the bugs that they now caught.

Trivialfix

Change-Id: I0fc3f5e3a48dc9dc0286cf9b11847a77573ac411
2020-03-20 11:14:44 -04:00
Michael Johnson 791fefbf4e Generate PDF documentation
Change-Id: If69b232cc2174bf00be4314dd71085100f4e951c
Story: 2006101
Task: 35149
2019-09-13 10:48:40 -07:00
Michael Johnson f298ed0277 Update tox.ini for new upper constraints strategy
The requirements team has defined a new strategy for handling
upper constraints[1]. This patch applies those strategies to
Octavia.

[1] http://lists.openstack.org/pipermail/openstack-discuss/ \
    2019-May/006478.html

Change-Id: I38a5bedbdd7852bd6e7bfff4917634458a6edbf3
2019-06-28 16:00:55 -07:00
caoyuan 980f5de02b Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I777edb39899b58739da904838d72344f95161a49
2019-05-27 05:30:20 +00:00
Carlos Goncalves 436dd9fe23 Skip amphora scenario test if provider is not set
This patch also removes py27 and py35 from list of envs in tox. We don't
have functional tests.

Change-Id: Id9255fe87d61bf6536c8d03f9dd7612abc451904
2019-02-12 22:08:00 +01:00
huang.zhiping ce50c736ea fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I883f658daee933a0ac2cfdcf25a625c82eb33d27
2018-06-09 18:54:00 +08:00
Michael Johnson 0f28a482d5 Migrate to stestr
This patch updates tox.ini to use stestr instead of testr.

Change-Id: I6be57c0c90d7711c172243b9de43034735334de7
2018-05-24 11:20:37 -07:00
Jude Cross 986e3f543c Create scenario tests for load balancers
This patch implements the tempest plugin for
for testing load balancer creation in Octavia.

Co-Authored-By: Jude Cross <jcross@godaddy.com>
Co-Authored-By: Lingxian Kong <anlin.kong@gmail.com>

Depends-On: https://review.openstack.org/557856
Change-Id: I57064f8e0834efba8859a780394a1c69851cc917
2018-04-10 12:20:01 -07:00
Michael Johnson 34139b07a7 Initial setup of the octavia-tempest-plugin repo
This patch is the initial repository setup for octavia-tempest-plugin
using the OpenStack cookiecutter template.

Change-Id: Icce1389d3a9fb6076091d4d291e15773fb64544b
2017-05-11 18:32:01 +00:00