Ensure that doc linting is included in the linters test

The 'docs' tox target executes the doc8 lint test which may result in
failures when testing documentation builds, but OpenStack-CI does not
execute that tox target.

In order to ensure that we catch all standard documentation syntax
errors and prevent them from merging, this patch includes the docs
target in the 'linters' chain of tests.

Fixes for any failures which result from executing this test are also
included in the patch.

Change-Id: I3b14ec1524a0f32705b85835fe3d1eb4b181fc56
This commit is contained in:
Jesse Pretorius 2016-07-25 14:10:48 +01:00
parent d3d96dc3a4
commit 4dbde0e418
3 changed files with 3 additions and 1 deletions

View File

@ -74,3 +74,4 @@ This role supports two tags: ``horizon-install`` and ``horizon-config``
The ``horizon-install`` tag can be used to install and upgrade. The ``horizon-install`` tag can be used to install and upgrade.
The ``horizon-config`` tag can be used to manage configuration. The ``horizon-config`` tag can be used to manage configuration.

View File

@ -184,3 +184,4 @@ commands =
{[testenv:bashate]commands} {[testenv:bashate]commands}
{[testenv:ansible-lint]commands} {[testenv:ansible-lint]commands}
{[testenv:ansible-syntax]commands} {[testenv:ansible-syntax]commands}
{[testenv:docs]commands}