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:
Andreas Jaeger 2017-10-27 10:53:15 +02:00
parent 039a8c050e
commit 6aac3245c3
2 changed files with 3 additions and 39 deletions

View File

@ -89,7 +89,7 @@ install the Python tox package and run ``tox`` from the top-level directory.
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
To run these tests, the Tox package uses the

40
tox.ini
View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = checkniceness,checkbuild
envlist = linters,checkbuild
skipsdist = True
[testenv]
@ -17,15 +17,11 @@ whitelist_externals =
[testenv:venv]
commands = {posargs}
[testenv:checkniceness]
[testenv:linters]
commands =
doc8 firstapp
doc8 api-quick-start
[testenv:linters]
# This will replace checkniceness with Zuul v3
commands = {[testenv:checkniceness]commands}
[testenv:checkbuild]
commands =
# Build and copy RST Guides
@ -44,22 +40,6 @@ commands =
# Build website index
{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]
whitelist_externals = doc-tools-check-languages
commands = doc-tools-check-languages doc-tools-check-languages.conf test all
@ -84,22 +64,6 @@ commands =
rm -rf publish-docs
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]
# Generate POT files for translation, needs {posargs} like:
# tox -e generatepot-rst -- firstapp