Commit Graph

18 Commits

Author SHA1 Message Date
Michael Johnson cc8f89b41c Add Designate hacking checks to the tempest plugin
This patch adds the Designate hacking checks to also run against
the Designate tempest plugin code to maintain consistent style
checking across the Designate repositories.

Change-Id: I8f41bb8188ba8442dbf493dac39b8601f5208938
2023-02-15 22:14:16 +00:00
Takashi Kajinami a5ac52d27e Replace deprecated whitelist_externals
The whitelist_externals option has been deprecated since tox 3.18.0[1].

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

Change-Id: I6a0b056bd944d93fb6afd9a1671ad1fa8010e251
2022-05-22 22:21:34 +09:00
wangzihao 45b3d39d42 Use TOX_CONSTRAINTS_FILE and update tox
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

bumps min version of tox to 3.18.0 in order to replace tox's
whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I4b14b7882fd6806c864d5ac0445e45df450dc218
2022-02-17 21:31:17 +00:00
dekehn e32fe1a5e2 Removal of tox envlist py3X
The removal of the envlist list value for unit test lessens the
confusion that the tempest test are tests in themselves and
hence we do not test the tests.

With the presents of the tox envlist, tox tries to run the tempest
tests as unit test, which results in failure and potential confusion.
The scope of tempest tests (Integration test) and unit test are
understandably different.

Change-Id: Ie016eca756c441cf557100c5227d640475885e4a
2022-01-25 16:52:33 +00:00
pengyuesheng 11abda00b1 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I2bf2fcc1ddb5fbda4486da439773e4c275376a27
2021-12-27 07:02:52 +00:00
Nicolas Bock add731103c Fix docs reqs for new pip
Per [1], the docs requirements were failing (or at least could) due to
test-requirements being used instead of doc/requirements. The former
may include dep versions not compatible with the upper-constraints and
hence cause issues for the new pip resolver. This patch fixes that.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html

Change-Id: Ifcf59e49b00e9b468b59f53de53c417a0e84adc4
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2021-06-16 01:08:41 +00:00
Andreas Jaeger 5fb81faee0 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0.1 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Switch to dnspython in requirements.
See also https://review.opendev.org/726353.

Co-Authored-By: Sean McGinnis <sean.mcginnis@gmail.com>
Depends-On: https://review.opendev.org/715682
Change-Id: I49a0ba49133f9592089d3829405847bf2ff8b425
2020-05-14 11:40:45 +00:00
Ghanshyam 3862c0add2 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

designate-tempest-plugin 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: Ib3bd70ba8f2e8386643c536ac8194fa99b54b842
2020-01-23 17:18:18 -06:00
inspurericzhang 2166776be8 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I2f13a051cb74dcb097715b825eecbea7e0b9fb06
2019-05-24 14:24:56 +08:00
Doug Hellmann ba13329fe6 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: I14aef3de2d663ef36930285401a52f06eb30488d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-01 21:40:58 +00:00
Vu Cong Tuan f348bfeb18 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I7eaadde83243afed1929bd29fff63272e58e072b
2018-07-12 14:13:12 +07:00
sandriichenko 5f8208e67a Run pep8 as part of default tox run
Change-Id: I516f96bcd07cdff118429e77325059b193ba2690
2018-02-23 14:53:00 +02:00
Andreas Jaeger 7cd8d5a663 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I42b7dcd3e9e41688ac3bd8b9c9fb9b39f90c3e9a
2017-12-02 17:03:27 +00:00
Thomas Herve 6583b5f1ac Declare compatibility with python 3.5
To be able to run the tests with py3, we need to declare the right
classifier.

Change-Id: I6ba0cda5af99721fbd3fe28a1bf107a38c08b195
2017-07-24 14:54:14 +02:00
Graham Hayes c392cf94fd Add Docs for plugin
Change-Id: I0064553874e621da17fcc742868b4373c233bb7b
2017-02-27 21:21:54 +00:00
Tony Breeds de55ca26ac Add Constraints support
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.

This change adds constraints support by also adding a helper script to
edit the constraints to remove designate-tempest-plugin.

Change-Id: I2f9c14a84089047bff5f6a77bbd234fda175d229
2016-12-20 15:42:54 +11:00
Kiall Mac Innes a17f233fd9 Add Tempest hacking checks
Fix v1 tests to comply

Change-Id: I6bf15fa887158efc1858991c806cbdd9ab23db5c
2016-11-04 08:57:42 +00:00
Kiall Mac Innes 25fb29e5c8 Initial layout of Designate tempest plugin
See https://review.openstack.org/283511 for history.

Change-Id: I7733e8786d6b525a7c9a8d4f12add329cd030d9d
Partially-Implements: blueprint designate-tempest-plugin
2016-04-07 08:08:46 +01:00