Create Gambia Testresults Pages 11/63111/6
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 2 Oct 2018 23:45:02 +0000 (16:45 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 18 Oct 2018 18:10:02 +0000 (11:10 -0700)
This change add the Gambia page to the testresults dashboard.

JIRA: RELENG-412
Change-Id: Id1ee651b9f3658adeff342c39e030dc248bf6747
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
reporting/3rd_party/html/gambia.html [new file with mode: 0644]
reporting/3rd_party/html/index.html
reporting/api/conf.py
reporting/docker/reporting.sh
reporting/img/gambia.jpg [new file with mode: 0644]
reporting/pages/app/scripts/controllers/gating.controller.js
reporting/reporting/reporting.yaml
reporting/reporting/vsperf/reporting-status.py

diff --git a/reporting/3rd_party/html/gambia.html b/reporting/3rd_party/html/gambia.html
new file mode 100644 (file)
index 0000000..d5f6fcd
--- /dev/null
@@ -0,0 +1,141 @@
+<!DOCTYPE HTML>
+<!--
+       Phantom by HTML5 UP
+       html5up.net | @ajlkn
+       Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+-->
+<html>
+       <head>
+               <title>Phantom by HTML5 UP</title>
+               <meta charset="utf-8" />
+               <meta name="viewport" content="width=device-width, initial-scale=1" />
+               <!--[if lte IE 8]><script src="3rd_party/js/ie/html5shiv.js"></script><![endif]-->
+               <link rel="stylesheet" href="3rd_party/css/main.css" />
+               <!--[if lte IE 9]><link rel="stylesheet" href="3rd_party/css/ie9.css" /><![endif]-->
+               <!--[if lte IE 8]><link rel="stylesheet" href="3rd_party/css/ie8.css" /><![endif]-->
+       </head>
+       <body>
+               <!-- Wrapper -->
+                       <div id="wrapper">
+
+                               <!-- Header -->
+                                       <header id="header">
+                                               <div class="inner">
+
+                                                       <!-- Logo -->
+                                                               <a href="index.html" class="logo">
+                                                                       <span class="symbol"><img src="img/logo.svg" alt="" /></span><span class="title">Phantom</span>
+                                                               </a>
+
+                                               </div>
+                                       </header>
+
+                               <!-- Menu -->
+                               <!-- Main -->
+                                       <div id="main">
+                                               <div class="inner">
+                                                       <header>
+                                                               <h1>Gambia reporting</h1>
+                                                       </header>
+                                                       <section class="tiles">
+                                                               <article class="style3">
+                                                                       <span class="image">
+                                                                               <img src="img/projectIcon_functest_250x250.png" alt="" />
+                                                                       </span>
+                                                                       <a href="gambia/functest/functest.html">
+                                                                               <h2>Functest</h2>
+                                                                               <div class="content">
+                                                                                       <p>Functional testing</p>
+                                                                               </div>
+                                                                       </a>
+                                                               </article>
+                                                               <article class="style2">
+                                                                       <span class="image">
+                                                                               <img src="img/projectIcon_yardstick_250x250.png" alt="" />
+                                                                       </span>
+                                                                       <a href="gambia/yardstick/status-apex.html">
+                                                                               <h2>Yardstick</h2>
+                                                                               <div class="content">
+                                                                                       <p>Qualification and performance testing</p>
+                                                                               </div>
+                                                                       </a>
+                                                               </article>
+                                                               <article class="style4">
+                                                                       <span class="image">
+                                                                               <img src="img/projectIcon_storperf_250x250.png" alt="" />
+                                                                       </span>
+                                                                       <a href="gambia/storperf/status-apex.html">
+                                                                               <h2>Storperf</h2>
+                                                                               <div class="content">
+                                                                                       <p>Storage testing</p>
+                                                                               </div>
+                                                                       </a>
+                                                               </article>
+                                                               <article class="style5">
+                                                                       <span class="image">
+                                                                               <img src="img/projectIcon_vsperf_250x250.png" alt="" />
+                                                                       </span>
+                                                                       <a href="gambia/vsperf/reporting.html">
+                                                                               <h2>Vsperf</h2>
+                                                                               <div class="content">
+                                                                                       <p>Virtual switch testing</p>
+                                                                               </div>
+                                                                       </a>
+                                                               </article>
+                                                               <article class="style1">
+                                                                       <span class="image">
+                                                                               <img src="img/projectIcon_qtip_250x250.png" alt="" />
+                                                                       </span>
+                                                                       <a href="gambia/qtip/status-apex.html">
+                                                                               <h2>Qtip</h2>
+                                                                               <div class="content">
+                                                                                       <p>Benchmark as a service</p>
+                                                                               </div>
+                                                                       </a>
+                                                               </article>
+                                                               <article class="style6">
+                                                                       <span class="image">
+                                                                               <img src="img/projectIcon_bottlenecks_250x250.png" alt="" />
+                                                                       </span>
+                                                                       <a href="gambia/bottlenecks/status-apex.html">
+                                                                               <h2>Bottlenecks</h2>
+                                                                               <div class="content">
+                                                                                       <p>Bottleneck finder</p>
+                                                                               </div>
+                                                                       </a>
+                                                               </article>
+                                                       </section>
+                                               </div>
+                                       </div>
+
+                               <!-- Footer -->
+                                       <footer id="footer">
+                                               <div class="inner">
+                                                       <section>
+                                                               <h2>OPNFV Testing Working group</h2>
+                                                       </section>
+                                                       <section>
+                                                               <h2>Follow</h2>
+                                                               <ul class="icons">
+                                                                       <li><a href="https://twitter.com/opnfv" class="icon style2 fa-twitter"><span class="label">Twitter</span></a></li>
+                                                                       <li><a href="http://git.opnfv.org" class="icon style2 fa-github"><span class="label">GitHub</span></a></li>
+                                                                       <li><a href="mailto:test-wg@list.opnfv.org" class="icon style2 fa-envelope-o"><span class="label">Email</span></a></li>
+                                                               </ul>
+                                                       </section>
+                                                       <ul class="copyright">
+                                                               <li>&copy; Untitled. All rights reserved</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
+                                                       </ul>
+                                               </div>
+                                       </footer>
+
+                       </div>
+
+               <!-- Scripts -->
+                       <script src="3rd_party/js/jquery.min.js"></script>
+                       <script src="3rd_party/js/skel.min.js"></script>
+                       <script src="3rd_party/js/util.js"></script>
+                       <!--[if lte IE 8]><script src="3rd_party/js/ie/respond.min.js"></script><![endif]-->
+                       <script src="3rd_party/js/main.js"></script>
+
+       </body>
+</html>
index 858ac47..9165250 100644 (file)
                                                        <section class="tiles">
                                                                        <article class="style4">
                                                                        <span class="image">
-                                                                               <img src="img/euphrates.jpg" alt="" />
+                                                                               <img src="img/fraser.jpg" alt="" />
                                                                        </span>
-                                                                       <a href="euphrates.html">
-                                                                               <h2>Euphrates</h2>
+                                                                       <a href="fraser.html">
+                                                                               <h2>Fraser</h2>
                                                                                <div class="content">
-                                                                                       <p>Euphrates (ETA 10/2017)</p>
+                                                                                       <p>Fraser (ETA 04/2018)</p>
                                                                                </div>
                                                                        </a>
                                                                </article>
                                                                <article class="style6">
                                                                        <span class="image">
-                                                                               <img src="img/fraser.jpg" alt="" />
+                                                                               <img src="img/gambia.jpg" alt="" />
                                                                        </span>
-                                                                       <a href="fraser.html">
-                                                                               <h2>Fraser</h2>
+                                                                       <a href="gambia.html">
+                                                                               <h2>Gambia</h2>
                                                                                <div class="content">
-                                                                                       <p>Fraser (ETA 04/2018)</p>
+                                                                                       <p>Gambia (ETA 11/2018)</p>
                                                                                </div>
                                                                        </a>
                                                                </article>
index e05c1fd..d0023e0 100644 (file)
@@ -1,5 +1,5 @@
 base_url = 'http://testresults.opnfv.org/test/api/v1'
 
-versions = ['master', 'euphrates', 'fraser']
+versions = ['master', 'fraser', 'gambia']
 
 period = 10
index 8008bf6..f3f3d50 100755 (executable)
@@ -3,7 +3,7 @@
 export PYTHONPATH="${PYTHONPATH}:./reporting"
 export CONFIG_REPORTING_YAML=./reporting/reporting.yaml
 
-declare -a versions=(fraser euphrates master)
+declare -a versions=(gambia fraser master)
 declare -a projects=(functest storperf yardstick qtip vsperf bottlenecks)
 
 project=$1
diff --git a/reporting/img/gambia.jpg b/reporting/img/gambia.jpg
new file mode 100644 (file)
index 0000000..fd91d11
Binary files /dev/null and b/reporting/img/gambia.jpg differ
index 329f8e0..52b381d 100644 (file)
@@ -12,7 +12,7 @@ angular.module('opnfvApp')
             $scope.scenarios = {};
 
             $scope.scenarioList = _toSelectList(['all']);
-            $scope.versionList = _toSelectList(['master', 'euphrates', 'fraser']);
+            $scope.versionList = _toSelectList(['master', 'fraser', 'gambia']);
             $scope.installerList = _toSelectList(['all', 'apex', 'compass', 'daisy', 'fuel', 'joid']);
             $scope.iterationList = _toSelectList([10, 20, 30]);
 
index ce27b90..6a59a44 100644 (file)
@@ -9,7 +9,7 @@ general:
 
     versions:
         - master
-        - fraser
+        - gambia
 
     log:
         log_file: reporting.log
index b45595d..377c315 100644 (file)
@@ -127,7 +127,7 @@ def main():
                                         period=50)
     version_data = _get_version_data(data['vsperf'])
 
-    for version in {'master', 'euphrates', 'fraser'}:
+    for version in {'master', 'fraser', 'gambia'}:
         _generate_reporting(version, version_data.get(version, []))
 
     LOG.info("End")