Implement human readable logging for functional tests
This patch implements a callback plugin to provide human readable logging for functional tests in order to aid the resolution of any functional testing failures. Change-Id: Ib58a3a500de959a8f7ee2ce1c258a32b6116a2e1
This commit is contained in:
parent
0c0b03b498
commit
cb23eddc96
4
tox.ini
4
tox.ini
|
@ -15,6 +15,7 @@ whitelist_externals =
|
|||
bash
|
||||
git
|
||||
rm
|
||||
wget
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
ANSIBLE_HOST_KEY_CHECKING = False
|
||||
|
@ -108,6 +109,9 @@ commands =
|
|||
rm -rf {homedir}/.ansible
|
||||
git clone https://git.openstack.org/openstack/openstack-ansible-plugins \
|
||||
{homedir}/.ansible/plugins
|
||||
# This plugin makes the ansible-playbook output easier to read
|
||||
wget -O {homedir}/.ansible/plugins/callback/human_log.py \
|
||||
https://gist.githubusercontent.com/cliffano/9868180/raw/f360f306b3c6d689734a6aa8773a00edf16a0054/human_log.py
|
||||
ansible-galaxy install \
|
||||
--role-file={toxinidir}/tests/ansible-role-requirements.yml \
|
||||
--ignore-errors \
|
||||
|
|
Loading…
Reference in New Issue