Commit Graph

16 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 611fb2bf4c Deprecate OpenStack-Ansible nspawn repositories
Since nspawn support has been removed with [1] we now
start repositories deprecation process.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/782569

Depends-On: https://review.opendev.org/c/openstack/project-config/+/797723
Change-Id: I113f0f2b5befc4bca830c130d7f60e621c86798e
2021-06-23 17:22:41 +00:00
Jonathan Rosser 09b5527359 Update minimum tox version and remove old workaround
Change-Id: I4447c36e602047df47aa812b05518294604d83d1
2020-05-15 21:05:48 +00:00
melissaml 9d7778932a Cleanup py27 support
This repo is now testing only with Python
3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Cleanup doc/source/conf.py to remove noww
 obsolete content.

Change-Id: I96ef07691810617f4ff5544a0797913d9dab05a6
2020-04-15 10:51:44 +00:00
Ghanshyam Mann b745746dde [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

openstack-ansible repos need few updates on tox.ini

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: Ia247178bd99704d47db9e9fced181082786d7b5e
2020-03-02 21:43:52 +00:00
Jonathan Rosser 1218bcb3bf Add vars for debian buster
including I3eb65347b4988d376e02d7f4ff111b88b5043fb5
and I79d673e5b1fe9b9b1999a558b323821ddee970a9 as these
changes depend on each other.

Change-Id: I0121507e2f3ba63ec4b54283b588579f80f38965
2020-02-27 20:26:38 +00:00
jacky06 8d81f4d4ac tox: Keeping going with docs
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
2. Remove the unnecessary blank line for tox.ini

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Depends-On: Ie837d376bb1a1d93367369d25140dd8a9d5ac14e
Change-Id: I61785906d8b191232414804bd03539cbb3cd65c3
2019-10-23 17:44:51 +00:00
melissaml 02d06237f9 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I5a70d8ec802c7cd2d77d0d6b7b7f3a611b0379b5
2019-07-10 22:49:37 +08:00
huang.zhiping 86f60b6a20 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: If5ec0826d9f6b664f71f457b55f1674f8e0848e1
Closes-Bug:  #1801657
2019-01-12 03:19:39 +00:00
Doug Hellmann 86ddbb3bd3 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: I9efa3afd1e7d17dabc2cf7226f90323f9b007aa9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:42:27 -04:00
melissaml 397b4cee3b 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: I33a23c7721a91d217425ef4da7a0760d0b45e80e
2018-09-20 02:14:09 +00:00
Jesse Pretorius 2c82faae90 Use the TESTING_BRANCH env var for constraints
The TESTING_BRANCH environment variable is provided by the
run_tests.sh script and is derived from the .gitreview file.

This ensures that once the master branch becomes a stable
branch, the constraints from the stable branch in the
integrated repository will automatically get used once the
.gitreview file is updated.

To ensure that the required environment variables are present
we export them appropriately in run_tests.sh and modify the
tox configuration to pass them into the tox test.

Change-Id: I4eaaf10cec71b928835c1ceae211ed1a3b2f70ee
Needed-By: https://review.openstack.org/579371
2018-08-16 15:27:22 +01:00
Heba Naser 09ace49e7d Use tests repo for common role test requirements
Using tox for requirements management requires in-repo
requirements files for all our repositories. Rather than
do that, we make use of the tests repo to capture our
common requirements and use this to install them.

This reduces our review requirement rate and simplifies
maintenance for us for the tox config. It also makes it
usable with 'Depends-On', which is marvellous!

The tox requirements definitions for docs/releasenotes
builds are left in-place as those are standard entries
across the community. If that changes at some point, we
can re-assess those entries too.

Depends-On: https://review.openstack.org/579208
Change-Id: Ifaf5805df73eb8ea0192015c51583b03c639dff8
2018-07-02 09:55:34 -04:00
Jesse Pretorius 7a57e4e98a Remove tests-repo-clone.sh
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.

Change-Id: If79ea2955c3cd6e70972f12e4fd6ef3db76aa56b
2018-03-28 10:12:13 +01:00
Jesse Pretorius 0dbc40f632 tox.ini: Expose USER environment variable to execution environment
In order to allow the use of the environment variable which informs
Ansible which user executed the playbook, we pass the USER env var
into the environment that tox builds.

Change-Id: I1f7f078a7e6c9c683afe2ebeff0c903d0b670eb1
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 17:56:59 +00:00
melissaml a85a66c60b Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I66486a38c92a08e38e962efd1ab950e1acca5659
2018-03-12 12:16:49 +08:00
Kevin Carter e97c013f67
First commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-08 11:39:40 -06:00