diff --git a/tests/ansible-role-requirements.yml b/tests/ansible-role-requirements.yml deleted file mode 100644 index 5884fd1..0000000 --- a/tests/ansible-role-requirements.yml +++ /dev/null @@ -1,77 +0,0 @@ ---- -- name: apt_package_pinning - src: https://opendev.org/openstack/openstack-ansible-apt_package_pinning - scm: git - version: master -- name: pip_install - src: https://opendev.org/openstack/openstack-ansible-pip_install - scm: git - version: master -- name: memcached_server - src: https://opendev.org/openstack/openstack-ansible-memcached_server - scm: git - version: master -- name: openstack_hosts - src: https://opendev.org/openstack/openstack-ansible-openstack_hosts - scm: git - version: master -- name: lxc_hosts - src: https://opendev.org/openstack/openstack-ansible-lxc_hosts - scm: git - version: master -- name: lxc_container_create - src: https://opendev.org/openstack/openstack-ansible-lxc_container_create - scm: git - version: master -- name: galera_client - src: https://opendev.org/openstack/openstack-ansible-galera_client - scm: git - version: master -- name: galera_server - src: https://opendev.org/openstack/openstack-ansible-galera_server - scm: git - version: master -- name: rabbitmq_server - src: https://opendev.org/openstack/openstack-ansible-rabbitmq_server - scm: git - version: master -- name: openstack_openrc - src: https://opendev.org/openstack/openstack-ansible-openstack_openrc - scm: git - version: master -- name: os_keystone - src: https://opendev.org/openstack/openstack-ansible-os_keystone - scm: git - version: master -- name: os_tempest - src: https://opendev.org/openstack/openstack-ansible-os_tempest - scm: git - version: master -- name: ansible-zookeeper - src: https://github.com/guilhermesteinmuller/ansible-zookeeper - scm: git - version: master -- name: ansible-kafka - src: https://github.com/guilhermesteinmuller/ansible-kafka - scm: git - version: master -- name: ansible-storm - src: https://github.com/guilhermesteinmuller/ansible-storm - scm: git - version: master -- name: ansible-influxdb - src: https://github.com/guilhermesteinmuller/ansible-influxdb.git - scm: git - version: master -- name: ansible-grafana - src: https://github.com/cloudalchemy/ansible-grafana - scm: git - version: master -- name: systemd_service - src: https://opendev.org/openstack/ansible-role-systemd_service - scm: git - version: master -- name: python_venv_build - src: https://opendev.org/openstack/ansible-role-python_venv_build - scm: git - version: master diff --git a/tox.ini b/tox.ini deleted file mode 100644 index eeb8e71..0000000 --- a/tox.ini +++ /dev/null @@ -1,107 +0,0 @@ -[tox] -minversion = 2.0 -skipsdist = True -envlist = docs,linters,functional - - -[testenv] -usedevelop = True -install_command = - pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} -commands = - /usr/bin/find . -type f -name "*.pyc" -delete -passenv = - COMMON_TESTS_PATH - HOME - http_proxy - HTTP_PROXY - https_proxy - HTTPS_PROXY - no_proxy - NO_PROXY - TESTING_BRANCH - TESTING_HOME - USER -whitelist_externals = - bash -setenv = - PYTHONUNBUFFERED=1 - ROLE_NAME=os_monasca - TEST_IDEMPOTENCE=false - VIRTUAL_ENV={envdir} - WORKING_DIR={toxinidir} - - -[testenv:docs] -basepython = python3 -deps = -r{toxinidir}/doc/requirements.txt -commands= - bash -c "rm -rf doc/build" - doc8 doc - sphinx-build -b html doc/source doc/build/html - - -[doc8] -# Settings for doc8: -extensions = .rst - - -[testenv:releasenotes] -basepython = python3 -deps = -r{toxinidir}/doc/requirements.txt -commands = - sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html - - -# environment used by the -infra templated docs job -[testenv:venv] -basepython = python3 -commands = - {posargs} - - -[testenv:pep8] -basepython = python3 -commands = - bash -c "{toxinidir}/tests/common/test-pep8.sh" - - -[flake8] -# Ignores the following rules due to how ansible modules work in general -# F403 'from ansible.module_utils.basic import *' used; -# unable to detect undefined names -# H303 No wildcard (*) import. -ignore=F403,H303 - - -[testenv:bashate] -basepython = python3 -commands = - bash -c "{toxinidir}/tests/common/test-bashate.sh" - - -[testenv:ansible-syntax] -basepython = python3 -commands = - bash -c "{toxinidir}/tests/common/test-ansible-syntax.sh" - - -[testenv:ansible-lint] -basepython = python3 -commands = - bash -c "{toxinidir}/tests/common/test-ansible-lint.sh" - - -[testenv:functional] -commands = - bash -c "{toxinidir}/tests/common/test-ansible-functional.sh" - - -[testenv:linters] -basepython = python3 -commands = - bash -c "{toxinidir}/tests/common/test-ansible-env-prep.sh" - {[testenv:pep8]commands} - {[testenv:bashate]commands} - {[testenv:ansible-lint]commands} - {[testenv:ansible-syntax]commands}