From 15dd840440573191b9405891198afd29a0c8fbd0 Mon Sep 17 00:00:00 2001 From: rexlee8776 Date: Sat, 27 Aug 2016 06:26:46 +0000 Subject: Add the function of yardstick testcase reporter JIRA: YARDSTICK-324 Change-Id: I58969265f88d5c20f46f0b1097f5b0ccb1d9a40d Signed-off-by: rexlee8776 --- reporting/yardstick/reportingConf.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 reporting/yardstick/reportingConf.py (limited to 'reporting/yardstick/reportingConf.py') diff --git a/reporting/yardstick/reportingConf.py b/reporting/yardstick/reportingConf.py new file mode 100644 index 0000000..af95cc0 --- /dev/null +++ b/reporting/yardstick/reportingConf.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# +# This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Reporting: Declaration of the variables +# +# **************************************************** +installers = ["apex", "compass", "fuel", "joid"] + +versions = ["master"] + +# get data in the past 7 days +PERIOD = 7 + +# get the lastest 4 test results to determinate the success criteria +LASTEST_TESTS = 4 + +REPORTING_PATH = "." + +URL_BASE = 'http://testresults.opnfv.org/test/api/v1/results' + +# LOG_LEVEL = "ERROR" +LOG_LEVEL = "INFO" +LOG_FILE = REPORTING_PATH + "/reporting.log" -- cgit 1.2.3-korg