Merge "Add a test Scenario for uwsgi & nginx"
This commit is contained in:
commit
9d0a762371
@ -45,7 +45,7 @@ fi
|
||||
|
||||
# run through each tox env and execute the test
|
||||
for tox_env in $(awk -F= '/envlist/ {print $2}' tox.ini | sed 's/,/ /g'); do
|
||||
if [ "${tox_env}" != "ansible-functional" ]; then
|
||||
if [[ "${tox_env}" != "ansible-functional" ]] && [[ ${tox_env} != "func_*" ]]; then
|
||||
tox -e ${tox_env}
|
||||
elif [ "${tox_env}" == "ansible-functional" ]; then
|
||||
if ${FUNCTIONAL_TEST}; then
|
||||
|
17
tox.ini
17
tox.ini
@ -162,6 +162,23 @@ commands =
|
||||
{toxinidir}/tests/test.yml -vvvv
|
||||
|
||||
|
||||
# NOTE(andymccr): this will test keystone with uwsgi & nginx
|
||||
[testenv:func_uwsgi-nginx]
|
||||
install_command =
|
||||
pip install -U --force-reinstall {opts} {packages}
|
||||
deps =
|
||||
{[testenv:ansible]deps}
|
||||
setenv =
|
||||
{[testenv:ansible]setenv}
|
||||
commands =
|
||||
{[testenv:ansible]commands}
|
||||
ansible-playbook -i {toxinidir}/tests/inventory \
|
||||
-e "rolename={toxinidir}" \
|
||||
-e "install_test_packages=True" \
|
||||
-e "keystone_apache_mod_wsgi_enabled=False" \
|
||||
{toxinidir}/tests/test.yml -vvvv
|
||||
|
||||
|
||||
[testenv:linters]
|
||||
deps =
|
||||
{[testenv:ansible]deps}
|
||||
|
Loading…
x
Reference in New Issue
Block a user