Commit Graph

10 Commits

Author SHA1 Message Date
Guilherme Steinmüller d5244c86ef Retire openstack-ansible-os_searchlight
Change-Id: Ie7c495b997ea91b1bcccfc031b60284e30d9c6f6
2019-04-17 23:49:05 +00:00
Doug Hellmann 17ebcf95bd 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: Iddcb3eae340033353c5d4dcabd067ac27703539e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:44:20 -04:00
Zuul 9dfab48d48 Merge "fix tox python3 overrides" 2018-08-23 03:48:05 +00:00
Jesse Pretorius 61b75692bb 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: I62bdba6d6cdb4bb6bafe8a8f323922dbf818280f
Needed-By: https://review.openstack.org/579371
2018-08-16 18:25:12 +01:00
melissaml 9cc0e05934 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: I875b1dfdf082964d6c81e860b6b1fe3e140241fc
2018-07-23 18:55:42 +08:00
Heba Naser 9d25ece794 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: Ia3b65cfc2362bbc09f7dc3fff3d767a649fea9f8
2018-07-02 13:00:52 -04:00
Zuul 758a4ca260 Merge "Follow the new PTI for document build" 2018-03-25 19:21:08 +00:00
Jesse Pretorius 076d6ec18c 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: Ia23acce68ea7ecf9e7946c1ff28dbc02ee2ac3b7
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-15 18:01:52 +00:00
ZhongShengping 5f21994d96 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: Iea7558c025b1eb9f339d4a9a169e9beeb684e76d
2018-03-09 12:01:27 +08:00
Neill Cox 6139bbed0f Import initial os_searchlight role.
Import the initial verison of the os_searchlight role.

This role currently does the following:
- Installs a jdk, elasticsearch and searchlight
- Starts the searchlight services (api and listener)
- Does an initial DB sync
- Listens for messages from other openstack services
- installs the openstack CLI plugin

Current issues / TODO list:
- linting of Stouts.elasticsearch role
- Setup Apache site properly.

Change-Id: I3ff72c9fbfc96a1f80f5cdd51a91f4d7ef638682
2017-06-05 15:06:59 +01:00