openstack-doc-test has been removed from openstack-doc-tools in release
1.0.0. Remove it's usage from this project.
Also, remove doc-test.conf file, it was used by openstack-doc-tools.
Remove checkniceness and checksyntax targets, they are unused and not
needed. Merge doc8 check into pep8 and doc environments (note that
OpenStack CI does not use doc environment, so add it to pep8 as well) as
is custom for lint like jobs. Fix requirements to follow best practices.
Add doc8 to test-requirements to document its usage properly, add sphinx
there as well.
Change-Id: I97b9df8272c4f425ec516dfb84c29d2263c316f8
* set basepython to python2 in docs env (Solar won't install if default
Python is 3.x);
* bump minimal tox version to 2.0 as that's the version where they fixed
substitutions in commands vars.
Change-Id: Iaba4b1ee2de626e0a09c19f57c2f0156192c48dc
- this fixes packaging problem
- adjusted ansible_template handlers to use new path
- added package-data to setup.cfg
- added ansible_library to flake8 exclude
Change-Id: I591f9632927d442d62ace38b3ae82fdae9648b16
* Add tox -e checkniceness and tox -e checksyntax to
make the docs almost perfect.
* Make tox -e docs task to call check* tasks as well
* Sanitize dependency install for separate tasks:
- docs, do not install non related eggs from test-requirements
- check*, install only required eggs as well
* Use whitelist_externals for the /bin/rm to remove warnings
Note, this change doesn't affect the time of py27/pep8 tasks
executuion!
Change-Id: I2d8ea9f8763fef06935c063f6564a9b239c31caf
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
It allows to search resources using advanced queries like:
solar resource show --tag 'location=node1 & resource=hosts_file'
solar resource show --tag 'resource=hosts_file | riak=*'
DocImpact
Change-Id: I25cf1522bf83b7909b9d60cfe0baf4665b81ef27
We may miss some bugs due to non-random pythonhashseed
So we need either ensure that we test in an environment where this
seed can be random or require from operator to provide PYTHONHASHSEED=0
to solar process, for example send it to docker container