Add a volume mapping for Bottlenecks 31/61231/1
authorxudan <xudan16@huawei.com>
Wed, 22 Aug 2018 04:04:34 +0000 (00:04 -0400)
committerxudan <xudan16@huawei.com>
Wed, 22 Aug 2018 04:04:34 +0000 (00:04 -0400)
All results files including the .out files are stored in Yardstick /tmp
Need to map that with host's /tmp to parse the results.

JIRA: DOVETAIL-727

Change-Id: I5a81e6e6bdf79b2e0074df505deb425c37b93300
Signed-off-by: xudan <xudan16@huawei.com>
etc/conf/bottlenecks_config.yml

index 5d369fd..8555131 100644 (file)
@@ -11,6 +11,7 @@ bottlenecks:
   envs: '-e DEPLOY_SCENARIO={{deploy_scenario}} -e Yardstick_TAG=stable -e OUTPUT_FILE={{testcase}}.out'
   volumes:
     - '-v /var/run/docker.sock:/var/run/docker.sock'
+    - '-v /tmp:/tmp'
   config:
     dir: '/home/opnfv/userconfig'
   pre_condition: