Commit Graph

16 Commits

Author SHA1 Message Date
Jesse Pretorius bd9f0c0723 Clean up tests a bit
1. Remove tests/test-configure-octavia.yml because the 'shade' package
   does not need to be installed again - this is already done by the
   role test preparation.

2. Remove the key generation as the keys are already generated in the
   common tests playbook 'test-prepare-keys.yml'.

3. Add some spacing between tasks to make it more readable.

4. Implement the extra packages needed in test-requirements.txt instead
   of trying to use a task to install them, because doing it in Ansible
   makes understanding the venv in relation to the inventory complicated..

5. Move the vars_files argument to the top of the play to make it easier
   to find and more uniform with other plays in OSA.

6. Switch from using octavia_ansible_endpoint_type to a hard-coded
   endpoint, then remove the octavia_ansible_endpoint_type var.

7. Switch from using the 'endpoint_type' argument for the openstack
   modules to using the more modern 'interface' argument.

8. Remove the 'run_once' argument on the 'Upload key to nova' task
   because only localhost is targeted, so the argument is moot.

9. Remove the 'Set VIP fact' task in favor of just using the 'vip_output'
   register in the 'Test the Listener' task. Setting a fact is pointless.

10. To help the existing patches pass, we add python-pip to the distro
    packages. This will be reverted later once the required changes
    to remove this requirement have merged.

Depends-On: https://review.openstack.org/589248
Change-Id: I46962090f7baf4227e838e125fd318245f2bcb85
2018-08-19 18:16:30 +01:00
Jesse Pretorius 7330ceafa0 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: I5b4cccc8c158df07bde5bcaa50546a5ffef94886
2018-07-01 17:09:08 +01:00
OpenStack Proposal Bot 6e17b3c0b5 Updated from global requirements
Change-Id: Icd98abf5ee92598148b56c693352c34ab0803db0
2018-03-15 07:37:25 +00:00
ZhongShengping fe98b558dc 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: Ic0e99e0419ac43c42a6cea2664306239c9490862
2018-03-09 12:01:27 +08:00
OpenStack Proposal Bot b5fc2905e9 Updated from global requirements
Change-Id: I2b6deadcfbe54002a297479e46359fb502609382
2018-01-24 01:19:38 +00:00
OpenStack Proposal Bot dae8637212 Updated from global requirements
Change-Id: Ieb6c027bc0ce254f6279b09362f57963566932cd
2018-01-18 03:17:31 +00:00
OpenStack Proposal Bot f66be9bccc Updated from global requirements
Change-Id: I74be29b6264cf857ac6034b02037fd168615c1c8
2017-09-16 23:20:21 +00:00
OpenStack Proposal Bot 73c8bbc373 Updated from global requirements
Change-Id: I97e7e9c6cafb8592e489a40f8fc3d1034e0dd477
2017-09-13 12:59:05 +00:00
OpenStack Proposal Bot b614100c23 Updated from global requirements
Change-Id: Icc4e422e8ae94e35f51369f5a2082118a45f9560
2017-08-18 15:54:57 +00:00
OpenStack Proposal Bot 9ad04fc1a1 Updated from global requirements
Change-Id: Ic88abff54880790410252fbd886eadb770e85e5d
2017-07-27 19:17:56 +00:00
ZhongShengping e8693a1935 Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I79f5da1152a7d6ba172230547cd94ee787dbb91a
2017-07-03 16:21:03 +08:00
OpenStack Proposal Bot 48ff9a634a Updated from global requirements
Change-Id: If4679aee0a0d94956906ac7ee44bc12c64cbc63a
2017-06-27 12:18:29 +00:00
OpenStack Proposal Bot 2c38da4085 Updated from global requirements
Change-Id: Ia1e39cca202b519b7ec4a22e25e5e0aaba85fbf7
2017-06-12 12:59:40 +00:00
OpenStack Proposal Bot 92d720568a Updated from global requirements
Change-Id: Ibfb95cc127af1231bdb6efaee3e3628ba09d3d85
2017-06-10 21:45:07 +00:00
OpenStack Proposal Bot 65384e1ef7 Updated from global requirements
Change-Id: I8c2df282ea01e8e558a69b3a5923578992186a44
2017-06-07 23:58:38 +00:00
Major Hayden f510d6561c Octavia role hacking
- installs Octavia service in OSA
- adds a test which installs Octavia (but uses noop
  to work around gate limitations)

Co-Authored-By: German Eichberger <German.eichberger@rackspace.com>

Change-Id: Idb419a4ca5daa311d39c90eda5f83412ccf576ad
2017-03-01 12:48:12 -05:00