Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.
We do the following:
1. We remove the 'func_base' and 'func_log'. They are unused
relics of the past.
Change-Id: I944a8163a34b51258a4f0da92cfcd6f046fd1961
(cherry picked from commit 8b9b70845f
)
This commit is contained in:
parent
99c7d1edcb
commit
6547c2094b
13
tox.ini
13
tox.ini
|
@ -107,18 +107,6 @@ commands =
|
||||||
ansible-lint {toxinidir}
|
ansible-lint {toxinidir}
|
||||||
|
|
||||||
|
|
||||||
[testenv:func_base]
|
|
||||||
# NOTE(odyssey4me): this target does not use constraints because
|
|
||||||
# it doesn't work in OpenStack-CI yet. Once that's fixed, we can
|
|
||||||
# drop the install_command.
|
|
||||||
install_command =
|
|
||||||
pip install -U --force-reinstall {opts} {packages}
|
|
||||||
|
|
||||||
|
|
||||||
[testenv:func_logs]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-log-collect.sh"
|
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
deps =
|
deps =
|
||||||
{[testenv:ansible]deps}
|
{[testenv:ansible]deps}
|
||||||
|
@ -126,6 +114,7 @@ commands =
|
||||||
bash -c "{toxinidir}/tests/tests-repo-clone.sh"
|
bash -c "{toxinidir}/tests/tests-repo-clone.sh"
|
||||||
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
|
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
|
||||||
|
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
deps =
|
deps =
|
||||||
{[testenv:ansible]deps}
|
{[testenv:ansible]deps}
|
||||||
|
|
Loading…
Reference in New Issue