From 83bab97cbd3a02822b2f9754d27539613ec666d1 Mon Sep 17 00:00:00 2001 From: Andrew Laski Date: Wed, 24 Aug 2016 16:45:24 -0400 Subject: [PATCH] Add oslopolicy script runs to the docs tox target In an untouched codebase these two commands should not output anything of interest as they are primarily tools for managing a custom policy.json file. But it's useful to run them to ensure that they do not error out. Change-Id: I33e0b27164a0e9df240337c7e9b467f0f3859eac --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 50e5451438..52d24f77c8 100644 --- a/tox.ini +++ b/tox.ini @@ -75,6 +75,8 @@ commands = bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python' oslo-config-generator --config-file=etc/nova/nova-config-generator.conf oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf + oslopolicy-list-redundant --namespace nova + oslopolicy-policy-generator --namespace nova --output-file etc/nova/policy.yaml.merged sphinx-build -W -b html api-guide/source api-guide/build/html sphinx-build -W -b html api-ref/source api-ref/build/html