Remove obsolete tox targets
With using zuul v3 fully, we can remove some old build targets. Update README for this as well. Change-Id: I53b894f9a9e69a8755776b8d4c0cccf7b681efda
This commit is contained in:
parent
039a8c050e
commit
6aac3245c3
@ -89,7 +89,7 @@ install the Python tox package and run ``tox`` from the top-level directory.
|
|||||||
|
|
||||||
To run individual tests:
|
To run individual tests:
|
||||||
|
|
||||||
* ``tox -e checkniceness`` - Niceness tests
|
* ``tox -e linters`` - Niceness tests
|
||||||
* ``tox -e checkbuild`` - Builds all of the documents in this repository
|
* ``tox -e checkbuild`` - Builds all of the documents in this repository
|
||||||
|
|
||||||
To run these tests, the Tox package uses the
|
To run these tests, the Tox package uses the
|
||||||
|
40
tox.ini
40
tox.ini
@ -1,6 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
envlist = checkniceness,checkbuild
|
envlist = linters,checkbuild
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -17,15 +17,11 @@ whitelist_externals =
|
|||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:checkniceness]
|
[testenv:linters]
|
||||||
commands =
|
commands =
|
||||||
doc8 firstapp
|
doc8 firstapp
|
||||||
doc8 api-quick-start
|
doc8 api-quick-start
|
||||||
|
|
||||||
[testenv:linters]
|
|
||||||
# This will replace checkniceness with Zuul v3
|
|
||||||
commands = {[testenv:checkniceness]commands}
|
|
||||||
|
|
||||||
[testenv:checkbuild]
|
[testenv:checkbuild]
|
||||||
commands =
|
commands =
|
||||||
# Build and copy RST Guides
|
# Build and copy RST Guides
|
||||||
@ -44,22 +40,6 @@ commands =
|
|||||||
# Build website index
|
# Build website index
|
||||||
{toxinidir}/tools/build-index.sh publish
|
{toxinidir}/tools/build-index.sh publish
|
||||||
|
|
||||||
[testenv:publishdocs-api]
|
|
||||||
# publishdocs will replace this, leave this in for transition
|
|
||||||
whitelist_externals =
|
|
||||||
mkdir
|
|
||||||
mv
|
|
||||||
commands =
|
|
||||||
{[testenv:publishdocs]commands}
|
|
||||||
# Now move everything to api-ref directory since that's where
|
|
||||||
# OpenStack CI expects it with this job.
|
|
||||||
# We need to move the content of publish-docs into publish-docs/api-ref.
|
|
||||||
# Tox does not allow us using wildcards here.
|
|
||||||
mkdir .newdir
|
|
||||||
# This renames publish-docs to api-ref
|
|
||||||
mv publish-docs .newdir/api-ref
|
|
||||||
mv .newdir publish-docs
|
|
||||||
|
|
||||||
[testenv:checklang]
|
[testenv:checklang]
|
||||||
whitelist_externals = doc-tools-check-languages
|
whitelist_externals = doc-tools-check-languages
|
||||||
commands = doc-tools-check-languages doc-tools-check-languages.conf test all
|
commands = doc-tools-check-languages doc-tools-check-languages.conf test all
|
||||||
@ -84,22 +64,6 @@ commands =
|
|||||||
rm -rf publish-docs
|
rm -rf publish-docs
|
||||||
doc-tools-check-languages doc-tools-check-languages.conf publish all
|
doc-tools-check-languages doc-tools-check-languages.conf publish all
|
||||||
|
|
||||||
[testenv:publishlang-api]
|
|
||||||
# publishlang will replace this, leave this in for transition
|
|
||||||
whitelist_externals =
|
|
||||||
mkdir
|
|
||||||
mv
|
|
||||||
commands =
|
|
||||||
{[testenv:publishlang]commands}
|
|
||||||
# Now move everything to api-ref directory since that's where
|
|
||||||
# OpenStack CI expects it with this job.
|
|
||||||
# We need to move the content of publish-docs into publish-docs/api-ref.
|
|
||||||
# Tox does not allow us using wildcards here.
|
|
||||||
mkdir .newdir
|
|
||||||
# This renames publish-docs to api-ref
|
|
||||||
mv publish-docs .newdir/api-ref
|
|
||||||
mv .newdir publish-docs
|
|
||||||
|
|
||||||
[testenv:generatepot-rst]
|
[testenv:generatepot-rst]
|
||||||
# Generate POT files for translation, needs {posargs} like:
|
# Generate POT files for translation, needs {posargs} like:
|
||||||
# tox -e generatepot-rst -- firstapp
|
# tox -e generatepot-rst -- firstapp
|
||||||
|
Loading…
Reference in New Issue
Block a user