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.

tox.ini 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [tox]
  2. skipsdist=True
  3. envlist = all_jobs, docs
  4. [testenv]
  5. setenv=
  6. PYTHONWARNING=all
  7. passenv=HTTP_PROXY HTTPS_PROXY http_proxy https_proxy NO_PROXY no_proxy
  8. [testenv:venv]
  9. commands = {posargs}
  10. # Please use `make docs` instead
  11. [testenv:docs]
  12. basepython=python3
  13. whitelist_externals=
  14. rm
  15. cp
  16. tox
  17. commands=
  18. tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e gen_all
  19. cp {toxinidir}/src/bin/shipyard_airflow/etc/shipyard/policy.yaml.sample {toxinidir}/doc/source/_static/shipyard.policy.yaml.sample
  20. cp {toxinidir}/src/bin/shipyard_airflow/etc/shipyard/shipyard.conf.sample {toxinidir}/doc/source/_static/shipyard.conf.sample
  21. rm -rf {toxinidir}/doc/build
  22. sphinx-build -W -b html {toxinidir}/doc/source {toxinidir}/doc/build/html
  23. deps= -r{toxinidir}/doc/requirements.txt
  24. # `all_jobs` is here to support invocation as simply `tox`, as is done in
  25. # current pipeline.
  26. [testenv:all_jobs]
  27. whitelist_externals=
  28. tox
  29. commands=
  30. tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini
  31. tox -c {toxinidir}/src/bin/shipyard_client/tox.ini
  32. [testenv:py35]
  33. whitelist_externals=
  34. tox
  35. commands=
  36. tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e py35
  37. tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py35
  38. [testenv:py36]
  39. whitelist_externals=
  40. tox
  41. commands=
  42. tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e py36
  43. tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py36
  44. [testenv:pep8]
  45. basepython=python3
  46. whitelist_externals=
  47. tox
  48. commands=
  49. tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e pep8
  50. tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e pep8