Integrate Elasticsearch and Kibana with Fuel
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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [tox]
  2. envlist = manifests,lma_logging_analytics,docs,build_plugin
  3. skipsdist = True
  4. [testenv]
  5. deps = -r{toxinidir}/test-requirements.txt
  6. passenv = HOME
  7. [testenv:manifests]
  8. deps =
  9. changedir = {toxinidir}/deployment_scripts/puppet/manifests
  10. whitelist_externals =
  11. bundle
  12. mkdir
  13. commands =
  14. mkdir -p {toxinidir}/.bundled_gems
  15. bundle install --path {toxinidir}/.bundled_gems
  16. bundle exec rake test
  17. [testenv:lma_logging_analytics]
  18. deps =
  19. changedir = {toxinidir}/deployment_scripts/puppet/modules/{envname}
  20. whitelist_externals =
  21. bundle
  22. mkdir
  23. commands =
  24. mkdir -p {toxinidir}/.bundled_gems
  25. bundle install --path {toxinidir}/.bundled_gems
  26. bundle exec rake test
  27. [testenv:docs]
  28. changedir = {toxinidir}/doc
  29. whitelist_externals = make
  30. commands =
  31. make clean html SPHINXOPTS=-W
  32. [testenv:build_plugin]
  33. changedir = {toxinidir}
  34. whitelist_externals =
  35. fpb
  36. bash
  37. commands =
  38. bash -c "rm -rf .build repositories/ubuntu/*.deb repositories/centos/*.rpm"
  39. fpb --check {toxinidir} --debug
  40. fpb --build {toxinidir} --debug
  41. [testenv:pep8]
  42. deps = hacking==0.7
  43. usedevelop = False
  44. commands =
  45. flake8 {posargs}
  46. [flake8]
  47. exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs,*fuel-qa*,*run_tests*,./contrib*,./deployment*
  48. show-pep8 = True
  49. show-source = True
  50. count = True
  51. [hacking]
  52. import_exceptions = testtools.matchers