Run functional devstack job on ansible collection

Porting of job that was running on patches in Ansible.

Change-Id: Ifa5a6b40d6a0f1de9f2cbc917a55c2d0e8ac421d
This commit is contained in:
Sagi Shnaidman
2020-01-20 10:57:42 +02:00
parent 57b76835c9
commit 7c52b83b52
36 changed files with 1050 additions and 1 deletions

12
tox.ini
View File

@@ -18,6 +18,7 @@ setenv =
OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true}
deps =
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
stestr slowest
@@ -47,3 +48,14 @@ commands = {posargs}
ignore = W503,H4,E501,E402,H301,H236,F401,E128,W504,F841,F403,F405
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
[testenv:ansible-new]
# Need to pass some env vars for the Ansible playbooks
passenv = HOME USER ANSIBLE_VAR_*
deps =
{[testenv]deps}
{toxinidir}/../os-client-config
{toxinidir}/../openstacksdk
ansible
commands =
{toxinidir}/ci/run-ansible-tests-collection.sh -e {envdir} {posargs}