5 Commits

Author SHA1 Message Date
Doug Hellmann
2cf9fd4456 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: Icb7395e2003053690b5ba77da207b62ff3014a56
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:44:42 -04:00
Jesse Pretorius
2f73146e0c Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.

We do the following:

1. We revert the use of project templates to using job config
   directly, given that nothing other than Ubuntu Xenial is
   currently working.
2. We remove the unused tox targets.

Change-Id: I695dcdbef6eb5f2cec69697a9cff50e03aeff1e2
2018-09-09 11:47:07 +01:00
Jesse Pretorius
63b0b0a596 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: Id60990bad2e47d89190eaf6cbe3fe1faf69af734
Needed-By: https://review.openstack.org/579371
2018-08-16 18:28:51 +01:00
Jesse Pretorius
6b17bc38d0 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: I13c1433377d8697162ac57122651a370c0971f6f
2018-07-02 15:51:51 +00:00
Kevin Carter
daf9f9d60a
first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-06-05 15:36:33 -05:00