Files
grenade/tox.ini
OpenStack Release Bot 55999e8637 Update TOX_CONSTRAINTS_FILE for stable/victoria
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/victoria branch, tests will
continue to use the upper-constraints list on master.

Change-Id: If55ad2b38cdfe1a8aee7f617a8fb3e182ec4d426
2020-10-01 10:33:09 +00:00

32 lines
783 B
INI

[tox]
envlist = bashate
minversion = 1.6
skipsdist = True
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/victoria}
-r{toxinidir}/test-requirements.txt
passenv = GENERATE_GRENADE_PLUGIN_LIST
[testenv:venv]
commands = {posargs}
[testenv:bashate]
commands =
bash -c "ls *.sh prep-* stop-* upgrade-* from-*/upgrade-* functions | xargs bashate -v {posargs}"
[testenv:docs]
whitelist_externals = bash
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/victoria}
-r{toxinidir}/doc/requirements.txt
setenv =
TOP_DIR={toxinidir}
INSTALL_SHOCCO=true
commands =
sphinx-build -W -b html doc/source doc/build/html
bash tools/build_docs.sh