| 1 |
Generate configuration file for tempest from cloud credentials |
| 2 |
============================================================== |
| 3 |
|
| 4 |
Installs python-tempestconf cloned from git and generates tempest.conf with |
| 5 |
credentials saved in clouds.yaml file. The tempest configuration file is printed |
| 6 |
to the output after that. |
| 7 |
|
| 8 |
**Role Variables** |
| 9 |
|
| 10 |
.. zuul:rolevar:: branch |
| 11 |
:type: string |
| 12 |
:default: master |
| 13 |
|
| 14 |
Branch name upper-constraints will be taken into account from when |
| 15 |
python-tempestconf is installed in a venv. |
| 16 |
|
| 17 |
.. zuul:rolevar:: cloud_user |
| 18 |
:type: string |
| 19 |
:default: devstack |
| 20 |
|
| 21 |
Named cloud with demo user credentials as a default value. |
| 22 |
|
| 23 |
.. zuul:rolevar:: virtualenvs |
| 24 |
:type: dict |
| 25 |
|
| 26 |
A dictionary of paths to virtual environments. |
| 27 |
|
| 28 |
.. zuul:rolevar:: tempestconf |
| 29 |
:default: ~/.virtualenvs/.tempestconf |
| 30 |
|
| 31 |
A path to the virtual environment of python-tempestconf tool. |
| 32 |
|
| 33 |
.. zuul:rolevar:: tempestconf_src_relative_path |
| 34 |
:type: string |
| 35 |
|
| 36 |
A relative path to a python-tempestconf project which is by default cloned |
| 37 |
to the Zuul home directory. Value of the variable is set in the role to |
| 38 |
that default path. If needed, the variable can be overridden from the |
| 39 |
playbook where the role is called from. |