summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorIldiko Vancsa <ildiko.vancsa@ericsson.com>2016-06-15 18:10:08 +0200
committerIldiko Vancsa <ildiko.vancsa@ericsson.com>2016-06-24 15:34:51 +0200
commitb33f32b714253b8bdfd88f986776e853164037e1 (patch)
tree4720a05ccca1d769345b8bddb4a8eae6a2920d01 /tox.ini
parent0ff77623d3523538438170e6204477f6ef82eeb5 (diff)
downloadceilometer-b33f32b714253b8bdfd88f986776e853164037e1.tar.gz
Add install-guide for ceilometer
This adds ceilometer-specific contents of the OpenStack Installation Guide in the ceilometer repo per [1]. A separate change will remove the ceilometer contents from the OpenStack Installation Guide for Newton per [2]. The ceilometer install-guide structure is based on Install Guide Cookiecutter [3]. Also adds tox.ini environment for install-guide and adds openstackdocs-theme to test-requirements.txt. [1] http://specs.openstack.org/openstack/docs-specs/specs/newton/project-specific-installguides.html [2] http://specs.openstack.org/openstack/docs-specs/specs/newton/installguide.html [3] https://review.openstack.org/#/c/314229/ Partially-Implements: blueprint projectspecificinstallguide Change-Id: Iffc5d7243e9eeb74c9dd7b559ef3de7123269293
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index ad51aa62..ce55de77 100644
--- a/tox.ini
+++ b/tox.ini
@@ -84,6 +84,13 @@ commands =
[testenv:releasenotes]
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+[testenv:install-guide]
+# NOTE(jaegerandi): this target does not use constraints because
+# upstream infra does not yet support it. Once that's fixed, we can
+# drop the install_command.
+install_command = pip install -U --force-reinstall {opts} {packages}
+commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html
+
[testenv:genconfig]
commands = oslo-config-generator --config-file=etc/ceilometer/ceilometer-config-generator.conf
@@ -116,7 +123,7 @@ commands = pifpaf --debug run elasticsearch oslo_debug_helper {posargs}
[flake8]
ignore =
-exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
+exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,install-guide
show-source = True
[hacking]