Renamed test-vars.yml to rolename-overrides.yml in README.rst
Rename of test-vars.yml to rolename-overrides.yml will happen of all the repo(rolename) in next patches. Change-Id: I3f61aa28fcd741343b19b6be0e9ece6643de743c Partial-Bug: #1629284
This commit is contained in:
parent
32bcd744e4
commit
65a1901248
|
@ -15,14 +15,14 @@ repository tox.ini`_ with the exception of the value for ``ROLE_NAME``.
|
||||||
A more advanced configuration which implements multiple functional test
|
A more advanced configuration which implements multiple functional test
|
||||||
scenarios is available in the `neutron role tox.ini`_.
|
scenarios is available in the `neutron role tox.ini`_.
|
||||||
|
|
||||||
To override variables you can create a ``test-vars.yml`` file inside the
|
To override variables you can create a ``${rolename}-overrides.yml`` file inside the
|
||||||
role's tests folder. This variable file can be includes in the functional tox
|
role's tests folder. This variable file can be includes in the functional tox
|
||||||
target configuration in ``tox.ini`` as demonstrated in the following extract:
|
target configuration in ``tox.ini`` as demonstrated in the following extract:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
ansible-playbook -i {toxinidir}/tests/inventory \
|
ansible-playbook -i {toxinidir}/tests/inventory \
|
||||||
-e @{toxinidir}/tests/test-vars.yml \
|
-e @{toxinidir}/tests/${rolename}-overrides.yml \
|
||||||
{toxinidir}/tests/test.yml -vvvv
|
{toxinidir}/tests/test.yml -vvvv
|
||||||
|
|
||||||
In your repositories ``tests/test.yml`` file, you can call any of the
|
In your repositories ``tests/test.yml`` file, you can call any of the
|
||||||
|
|
Loading…
Reference in New Issue