Change the directories of results and some files to DOVETAIL_HOME 25/35325/3
authorxudan <xudan16@huawei.com>
Thu, 25 May 2017 08:35:18 +0000 (04:35 -0400)
committerxudan <xudan16@huawei.com>
Fri, 26 May 2017 02:51:50 +0000 (22:51 -0400)
commited7f8ee3697be3751dc6cfb243cc55092ddd1dd5
tree82e64038198e38303286f256441ee6245e44b659
parented7de0f59902094646ec53e0c3af192538833611
Change the directories of results and some files to DOVETAIL_HOME

JIRA: DOVETAIL-438

1. Need an env variable DOVETAIL_HOME in env_config.sh
2. env_config.sh, pod.yaml and id_rsa should be put in path DOVETAIL_HOME/pre_config
3. the results will also be put in this path
4. no need to give the path of openstack credential file while running a testsuite
5. if running with the code, source the env_config.sh file before running
      source $DOVETAIL_HOME/env_config.sh
      dovetail run --testsuite <testsuite_name>
6. if running with Dovetail docker image
      docker run -it --privileged=true -e DOVETAIL_HOME=<dovetail_home_path>
             -v <dovetail_home_path>:<dovetail_home_path>
             -v /var/run/docker.sock:/var/run/docker.sock
             opnfv/dovetail:latest /bin/bash

Change-Id: Ia23078f27a34e293d0075e49c673930f41069cb6
Signed-off-by: xudan <xudan16@huawei.com>
docker/Dockerfile
dovetail/conf/cmd_config.yml
dovetail/conf/dovetail_config.yml
dovetail/conf/yardstick_config.yml
dovetail/container.py
dovetail/run.py
dovetail/test_runner.py