summaryrefslogtreecommitdiffstats
path: root/dovetail/conf/cmd_config.yml
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-03-22 07:51:37 +0000
committerxudan <xudan16@huawei.com>2017-03-25 08:59:53 +0000
commit223806ad2a5d60c9909f32f35b8cea16bf703a69 (patch)
treedfcd9c27f2876c3b185a5afb2266ca78e0e155d8 /dovetail/conf/cmd_config.yml
parent02d44a030687100d0ebf68d1645536536d42cbb9 (diff)
dovetail tool: Add an option cmd for pushing results into DB
JIRA: DOVETAIL-373 1. add an option --report/-r to choose the report type. 2. "-r file" will store results with files. 3. "-r http://192.168.135.2:8000/api/v1" will push results into DB. The DB url can replaced by user's local DB or official DB. 4. Default report type is defined as "report_dest" in dovetail_config.yml. 5. Yardstick can't push results of one testcase into DB now, so both "-r file" and "-r http://..." will be regarded as "file". Change-Id: Ieaa017ab59c5b15235bf306ef57cdc56beb22af8 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/conf/cmd_config.yml')
-rw-r--r--dovetail/conf/cmd_config.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/dovetail/conf/cmd_config.yml b/dovetail/conf/cmd_config.yml
index 2ae0402e..c0da5113 100644
--- a/dovetail/conf/cmd_config.yml
+++ b/dovetail/conf/cmd_config.yml
@@ -53,3 +53,8 @@ cli:
- '-d'
is_flag: 'True'
help: 'Flag for showing debug log on screen.'
+ report:
+ flags:
+ - '--report'
+ - '-r'
+ help: 'push results to DB (e.g. --report http://192.168.135.2:8000/api/v1)'