Commit Graph

9 Commits

Author SHA1 Message Date
Guilherme Steinmüller 56e16a7ba6 Retire openstack-ansible-os_monasca-agent
Change-Id: I3b6bb0ae9413ec54fd5444b45f68a480cbc2744b
2019-06-11 20:25:37 +00:00
tonybrad 5732eef9af Change tests source to opendev
Change-Id: Iab301875abe696f06217fadf314a5c20b7da3fa0
2019-05-21 08:49:27 +00:00
huang.zhiping c198a4e6ad 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: I3e4fc4a276bb8c30de4437d58fccc6ea370db23f
2018-09-30 12:07:00 +00:00
Doug Hellmann 4f27b58964 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: I28d6267329684a61bdaf814041379efec0b4daca
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:43:56 -04:00
Jesse Pretorius da1879fae6 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: I33d98063f14d0c8aa9991baf6c30bbbb9a7e26a4
Needed-By: https://review.openstack.org/579371
2018-08-16 18:22:52 +01:00
Heba Naser e87e86a9a4 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: I2c03784267d7cec6a427366dae5554692e99afae
2018-07-02 12:54:58 -04:00
Jesse Pretorius 439968904b 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: Ibe8956a75da2317635c33690c1e558434251538d
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 18:00:30 +00:00
ZhongShengping 110952a1e2 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: Ib9ac9e23c943e923f7b6afb8f01bf824e331cbaf
2018-03-09 12:01:27 +08:00
Flávio Ramalho ecae6cc994 Monasca-Agent role refactoring[+docs]
This patch refactors the monasca-agent role by bringing consistency
with the other openstack-ansible roles. Main changes include:
  - Plugins are automatically configured based on the openstack-ansible
    configuration;
  - Added tests;
  - Added documentation.

The extras directory contains changes necessary to openstack-
ansible to setup monasca-agent.

Change-Id: I3678af93ef460e5c32751e08201e68cef216787d
2017-06-12 10:41:44 -03:00