Commit Graph

16 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov bc258b4e19 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: Ic80477b87a3ddc74ac1712f6bd4c3aba284fa1cb
2021-06-23 20:24:41 +03:00
melissaml 714627b611 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: I6f85271e1750d6fa9006847feb18a1390f9048ea
2020-04-15 10:48:33 +08:00
Ghanshyam Mann 3ab811cee1 [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 requirements
and tox file.

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: Ie60df3b41fd4a73498ac3085c5541bdff7c0703d
2020-03-03 21:38:08 +00:00
jacky06 abdff032b9 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: Ifc53943b84a9eedb41bed8d07f4dda52e5ae879b
2019-10-23 17:43:05 +00:00
melissaml dc13e6565d Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Idc14e934fc5a10cdf81055bc22c76cd9c5c8aa9e
2019-07-10 22:00:37 +08:00
huang.zhiping f60148b767 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: I745314975cf50bc92bd0993f4a9738f37cbdf3ab
Closes-Bug:  #1801657
2018-11-08 13:35:38 +00:00
Doug Hellmann ed80dffc27 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: Iade4b0b1681f76fbc6ac571ffc0921089922dc88
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:42:24 -04:00
Zuul c10841b9f3 Merge "Use tests repo for common role test requirements" 2018-09-15 23:38:53 +00:00
Jesse Pretorius 175eb2febe 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.

Needed-By: https://review.openstack.org/579371
Change-Id: I205f0373e0f69b3215edf01ff10bd6f604ec49ea
2018-09-15 17:21:15 +00:00
Heba Naser a82ca1ac71 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: Ida595b07f5293b54a277c6f5ae2fcb4dbf1ee501
2018-09-15 17:19:29 +00:00
melissaml 6fb4cd237c 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: I61e975791c9cfb920c389937eead436fa4966080
2018-07-23 19:54:48 +08:00
Jesse Pretorius 7ea32e9219 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 details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

In order to pass the requirements check, a new lower bound is set for the
'pyasn1' and 'requests' packages.

Change-Id: Ibb3ac9d3c187c4bf44c79c247c6143f88253c2f4
2018-07-03 10:13:38 +01:00
Kevin Carter e2c7abcb54 clean up tox
Change-Id: I0d4c75c090a3cb1c84d8950e6eebbc7024aa6f4e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-19 06:22:59 +00:00
Jesse Pretorius 997f74afa3 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: Ic1cbcff32d98255d12136b4676e1e59ab9aa2386
2018-03-28 10:12:05 +01:00
Jesse Pretorius a5980b0d0d 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: I13f50b5325a00d8618235b8d00a99a439e17af2a
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 17:56:50 +00:00
Kevin Carter 627d5107cc
First commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-06 22:37:24 -06:00