From: xudan Date: Fri, 10 Aug 2018 02:58:26 +0000 (-0400) Subject: Clean results directory to reduce the size of the package uploaded X-Git-Tag: ovp-2.0.0-rc1~14 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F15%2F60815%2F2;p=dovetail.git Clean results directory to reduce the size of the package uploaded JIRA: DOVETAIL-726 Change-Id: I57cb14cd5fe03a51e1691d7b48359bdd9b472ae4 Signed-off-by: xudan --- diff --git a/etc/conf/bottlenecks_config.yml b/etc/conf/bottlenecks_config.yml index 8cb28fb9..50843ea4 100644 --- a/etc/conf/bottlenecks_config.yml +++ b/etc/conf/bottlenecks_config.yml @@ -17,8 +17,12 @@ bottlenecks: - 'cp /home/opnfv/userconfig/images/cirros-0.4.0-x86_64-disk.img /tmp/yardstick.img' cmds: - 'python /home/opnfv/bottlenecks/testsuites/run_testsuite.py testcase {{validate_testcase}} False' + post_condition: + - 'mkdir -p /home/opnfv/bottlenecks/results' + - 'cp /tmp/bottlenecks.log /home/opnfv/bottlenecks/results' + - 'cp /tmp/bottlenecks.stress.ping.out /home/opnfv/bottlenecks/results' result: - dir: '/tmp' + dir: '/home/opnfv/bottlenecks/results' openrc: '/tmp/admin_rc.sh' extra_container: - 'Bottlenecks-Yardstick'