Commit Graph

11 Commits

Author SHA1 Message Date
Guilherme Steinmüller d4e03338cf Retire openstack-ansible-os_molteniron
Change-Id: Idbf958f59a5443abc35d5ed09d086be0ec9688d6
2019-04-24 16:33:17 -04:00
huang.zhiping cdfbf325ec 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: If2fa3b28e6a99dd5b80c20235cb87c4893cae3ed
Closes-Bug:  #1801657
2019-03-05 01:58:41 +00:00
Doug Hellmann 2f8ceaa360 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: Ib0228364cd124a5943db4427b75c31c92c4e1517
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:43:48 -04:00
Jesse Pretorius aae74e6e09 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: I3f4713434d4ddec3cb55a6744ac9b896d357146f
Needed-By: https://review.openstack.org/579371
2018-08-16 18:22:15 +01:00
Heba Naser 23aee0d1a1 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: I1ad4371abe77726fba098e4ae846ee346f13eaff
2018-07-02 11:09:07 -04:00
Jesse Pretorius d821929d5d 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: Ida1ee59e089b3ec8b03fec4166e3974c049944c4
2018-03-28 10:14:54 +01:00
Jesse Pretorius 3d0855406f 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: I663853e826bf01b701b686370a012a06fb46937e
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 18:00:12 +00:00
ZhongShengping 4adf4859fb 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: If0de42fe1c57aa29840c670fc0c2b69bcee4bec3
2018-03-09 12:01:27 +08:00
Jesse Pretorius 387dfc0e54 Ensure that role tests pin pip/setuptools/wheel
Currently the role tests use whatever versions of pip,
setuptools and wheel are already installed on the host.

When a version of these tools changes it often causes
problems for our testing.

This will ensure that we use a known good set of pins
which is maintained in the general SHA bumping process.

Change-Id: I20db03e2ac306c3571f007064b96671b70c33991
2017-06-04 11:21:40 +01:00
Jesse Pretorius 5a83f3a14a Use zuul-cloner for tests repo in OpenStack-CI
When executing the tests repo clone in OpenStack-CI,
use zuul-cloner instead of git to enable cross-repo
testing. This ensures that if a dependent patch from
the tests repo is noted using 'Depends-On: <change-id>'
in the commit message, that patch will be included.

Change-Id: Id7a1b3599e70549cacb16d60524094a2f5277ce1
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
2017-05-04 16:52:19 +01:00
Mark Hamzy 25b4ca5580 Add scaffolding for testing and doc publishing
Change-Id: I212d3fab8bc6ec6917b4440a0e3f7e61b8e39876
2017-03-20 07:26:29 -05:00