2018-05-14 18:48:00 +00:00
|
|
|
[tox]
|
2020-04-06 02:14:59 +00:00
|
|
|
minversion = 3.1
|
2018-05-14 18:48:00 +00:00
|
|
|
envlist = docs
|
|
|
|
skipsdist = True
|
2020-04-06 02:14:59 +00:00
|
|
|
ignore_basepython_conflict = True
|
2018-05-14 18:48:00 +00:00
|
|
|
|
|
|
|
[testenv]
|
2020-04-06 02:14:59 +00:00
|
|
|
basepython = python3
|
2018-05-14 18:48:00 +00:00
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
2020-05-03 11:46:39 +00:00
|
|
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
2022-12-13 14:18:01 +00:00
|
|
|
passenv = *_proxy,*_PROXY
|
2018-05-14 18:48:00 +00:00
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
|
|
|
commands =
|
2020-04-11 13:24:54 +00:00
|
|
|
rm -rf doc/build
|
2020-04-21 18:10:48 +00:00
|
|
|
sphinx-build -W -b html doc/source doc/build/html
|
2022-12-13 14:18:01 +00:00
|
|
|
allowlist_externals =
|
2020-04-11 13:24:54 +00:00
|
|
|
rm
|
2020-05-17 19:01:39 +00:00
|
|
|
|
|
|
|
[testenv:lint]
|
2020-06-11 16:30:01 +00:00
|
|
|
deps =
|
|
|
|
yq
|
|
|
|
yamllint
|
2020-05-17 19:01:39 +00:00
|
|
|
commands =
|
2020-06-11 16:30:01 +00:00
|
|
|
rm -rf .yamllint
|
|
|
|
bash ../openstack-helm-infra/tools/gate/lint.sh
|
2022-12-13 14:18:01 +00:00
|
|
|
allowlist_externals =
|
2020-06-11 16:30:01 +00:00
|
|
|
rm
|
2020-05-17 19:01:39 +00:00
|
|
|
bash
|
2021-01-14 02:24:04 +00:00
|
|
|
|
|
|
|
[testenv:releasenotes]
|
2022-06-29 18:23:53 +00:00
|
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
2021-01-14 02:24:04 +00:00
|
|
|
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|