From d1f154cbd3816319a7abd491b7128480626c2ceb Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 9 Aug 2018 22:58:26 -0400 Subject: Clean results directory to reduce the size of the package uploaded JIRA: DOVETAIL-726 Change-Id: I57cb14cd5fe03a51e1691d7b48359bdd9b472ae4 Signed-off-by: xudan --- etc/conf/bottlenecks_config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc') 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' -- cgit 1.2.3-korg