A cluster lifecycle orchestrator for Airship.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

57 lines
1.6 KiB

[tox]
skipsdist=True
envlist = all_jobs, docs
[testenv]
setenv=
PYTHONWARNING=all
passenv=HTTP_PROXY HTTPS_PROXY http_proxy https_proxy NO_PROXY no_proxy
[testenv:venv]
commands = {posargs}
# Please use `make docs` instead
[testenv:docs]
basepython=python3
whitelist_externals=
rm
cp
tox
commands=
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e gen_all
cp {toxinidir}/src/bin/shipyard_airflow/etc/shipyard/policy.yaml.sample {toxinidir}/doc/source/_static/shipyard.policy.yaml.sample
cp {toxinidir}/src/bin/shipyard_airflow/etc/shipyard/shipyard.conf.sample {toxinidir}/doc/source/_static/shipyard.conf.sample
rm -rf {toxinidir}/doc/build
sphinx-build -W -b html {toxinidir}/doc/source {toxinidir}/doc/build/html
deps= -r{toxinidir}/doc/requirements.txt
# `all_jobs` is here to support invocation as simply `tox`, as is done in
# current pipeline.
[testenv:all_jobs]
whitelist_externals=
tox
commands=
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini
[testenv:py35]
whitelist_externals=
tox
commands=
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e py35
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py35
[testenv:py36]
whitelist_externals=
tox
commands=
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e py36
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py36
[testenv:pep8]
basepython=python3
whitelist_externals=
tox
commands=
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e pep8
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e pep8