Use common log commands for calico tox config

Change-Id: Ia2981637605777f5144e52ca886df0dbaee5751d
This commit is contained in:
Jesse Pretorius 2016-09-16 09:18:20 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 687c89a5ab
commit f95ff25a7f

View File

@ -204,6 +204,7 @@ commands =
{toxinidir}/tests/test.yml -vvvv
{[testenv:func_logs]commands}
[testenv:calico]
# NOTE(logan): this target tests neutron with calico
install_command =
@ -218,8 +219,7 @@ commands =
-e "rolename={toxinidir}" \
-e "install_test_packages=True" \
{toxinidir}/tests/test.yml -vvvv
bash -c 'mkdir -p {toxinidir}/logs'
bash -c 'rsync -av --ignore-errors /var/log/ /openstack/log/ {toxinidir}/logs/ || true'
{[testenv:func_logs]commands}
[testenv:linters]