summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-08-09 22:58:26 -0400
committerDan Xu <xudan16@huawei.com>2018-08-13 01:47:11 +0000
commitd1f154cbd3816319a7abd491b7128480626c2ceb (patch)
treeb8b1c441ab52e8d1b7593f17d7945c284a550a7d
parent0837fce1f5d0a13180832e3d5ee11e6ad50f3ce1 (diff)
Clean results directory to reduce the size of the package uploaded
JIRA: DOVETAIL-726 Change-Id: I57cb14cd5fe03a51e1691d7b48359bdd9b472ae4 Signed-off-by: xudan <xudan16@huawei.com>
-rw-r--r--etc/conf/bottlenecks_config.yml6
1 files changed, 5 insertions, 1 deletions
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'