From 7ba7f4413794bf5962312ac7d17a00c7ac3d9a1f Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Tue, 28 Oct 2014 09:34:00 +0100 Subject: [PATCH] tox.ini: create and publish Windows batch files Generate Windows batch files using osbash.sh and create a zip archive of the labs directory (for Windows users). Change-Id: I98005cb390f80ec1681914be041084dfa737ffa5 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 76f72330..fea50f7b 100644 --- a/tox.ini +++ b/tox.ini @@ -37,6 +37,8 @@ commands = mkdir -p publish-docs/training-guides openstack-doc-test --check-build {posargs} bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs" + bash -c "labs/osbash.sh -w cluster" + bash -c "zip -r publish-docs/training-guides/labs-scripts.zip labs" [testenv:publishdocs] # Prepare all documents (except www subdir) so that they can get @@ -49,6 +51,8 @@ commands = # We only publish changed manuals. openstack-doc-test --check-build --publish bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs" + bash -c "labs/osbash.sh -w cluster" + bash -c "zip -r publish-docs/training-guides/labs-scripts.zip labs" [testenv:checklang] # Generatedocbook needs xml2po which cannot be installed