Generating tar file for labs section
Generates tar files for labs section for those who want to run the lab scripts without having to install git and cloning the entire repository. Change-Id: I48056f3195b43dec0e15152ee1777b936e29a24d
This commit is contained in:
parent
efdccb94d1
commit
19d9c94420
7
tox.ini
7
tox.ini
@ -33,18 +33,21 @@ commands =
|
||||
commands = openstack-doc-test --check-deletions {posargs}
|
||||
|
||||
[testenv:checkbuild]
|
||||
commands = openstack-doc-test --check-build {posargs}
|
||||
commands =
|
||||
openstack-doc-test --check-build {posargs}
|
||||
bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs"
|
||||
|
||||
[testenv:publishdocs]
|
||||
# Prepare all documents (except www subdir) so that they can get
|
||||
# published on docs.openstack.org with just copying publish-docs/*
|
||||
# over.
|
||||
commands =
|
||||
commands =
|
||||
# Create directory, it might not be here if openstack-doc-test does
|
||||
# not publish anything.
|
||||
mkdir publish-docs
|
||||
# We only publish changed manuals.
|
||||
openstack-doc-test --check-build --publish
|
||||
bash -c "tar czf publish-docs/training-guides/labs-scripts.tgz labs"
|
||||
|
||||
[testenv:checklang]
|
||||
# Generatedocbook needs xml2po which cannot be installed
|
||||
|
Loading…
x
Reference in New Issue
Block a user