Commit Graph

10 Commits

Author SHA1 Message Date
kaiokassiano b56a6e74ac Retire openstack-ansible-os_monasca-ui
Depends-On: https://review.openstack.org/617195
Depends-On: https://review.openstack.org/617321
Needed-By: https://review.openstack.org/617212
Needed-By: https://review.openstack.org/617322
Change-Id: I54264a16b09d7c0ffd85f1cf683ab3bffface42b
2018-11-21 08:52:27 -03:00
Doug Hellmann f4e1e97790 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: Ib43d36fc32991460c9ce6cf40a82ed4717b668ec
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:44:00 -04:00
Jesse Pretorius f3891f4c11 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: I4abc45ee31849f50a0bc7b5a8c35bf31dc131aa6
Needed-By: https://review.openstack.org/579371
2018-08-16 18:23:10 +01:00
Heba Naser c30e707434 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: I9150b61765b7c21fa35ccad986b32ba53895fafa
2018-07-02 12:58:01 -04:00
Jesse Pretorius 7d09caaf43 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: I6973ff9024288e470f5f0dce80624a49c2830b37
2018-03-28 10:15:13 +01:00
Jesse Pretorius d435728cfb 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: I795d49a72090b8118f4205a5f9de16ac1066b4bf
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 18:00:40 +00:00
ZhongShengping 1004b097b2 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: I1de4f29f4d1b77d1372b1f181701735aa808a564
2018-03-09 12:01:27 +08:00
Jesse Pretorius ea0960731a 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: I556eae42bfd69d3515272abd4ad8cc4bd68b397f
2017-06-04 11:21:57 +01:00
Jesse Pretorius 484db1a47b 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.

Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Depends-On: I5da7802d61d2ab6b03908138e3a3ed2db22e3d29
Change-Id: Ie4d7b80b8f3778e338200d67a21de678f7afd829
2017-05-16 11:27:58 +00:00
Ravi Kumar Boyapati 0407fd52f0 Openstack ansible monasca-ui role first cut
Change-Id: I9c6216e9f1d485b92acac55d88dd076857c34a23
2017-03-08 11:37:20 -05:00