Skip to content

Commit d50bd67

Browse files
authored
Merge pull request #46 from openhpc/2025-11-02-results
Beautify results
2 parents fbed333 + 5445f2d commit d50bd67

File tree

8 files changed

+1399
-69
lines changed

8 files changed

+1399
-69
lines changed

ansible/inventory/repos

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[repos]
22
repos.openhpc.community
33

4+
[repos:vars]
5+
ansible_python_interpreter=/usr/bin/python3
6+
47
[repos_aarch64]
58
repos.openhpc.community
9+
10+
[repos_aarch64:vars]
11+
ansible_python_interpreter=/usr/bin/python3
Lines changed: 129 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,131 @@
11
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<title>OpenHPC @@VERSION@@ Test Results</title>
5-
<link rel="stylesheet" type="text/css" href="/.files/styles.css"/>
6-
</head>
7-
<body><h1>OpenHPC @@VERSION@@ Test Results</h1>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta name="description" content="OpenHPC @@VERSION@@ automated test results and CI status">
8+
<title>OpenHPC @@VERSION@@ Test Results</title>
9+
<link rel="stylesheet" type="text/css" href="/.files/styles.css"/>
10+
<link rel="icon" type="image/x-icon" href="/.files/favicon.ico">
11+
</head>
12+
<body>
13+
<div class="container">
14+
<h1>&#129514; OpenHPC @@VERSION@@ Test Results</h1>
15+
16+
<!-- DETAILED_VIEW_START -->
17+
<!-- Navigation breadcrumb -->
18+
<nav class="breadcrumb">
19+
<a href="../" class="breadcrumb-link">&#8592; Back to OpenHPC @@MAJOR_VERSION@@ Overview</a>
20+
</nav>
21+
<!-- Summary Statistics -->
22+
<div class="summary-stats">
23+
<div class="stat-card">
24+
<div class="stat-number" id="total-tests">0</div>
25+
<div class="stat-label">&#128202; Total Test Configurations</div>
26+
</div>
27+
<div class="stat-card">
28+
<div class="stat-number" id="total-runtime">0h</div>
29+
<div class="stat-label">&#9201; Total Runtime</div>
30+
</div>
31+
<div class="stat-card">
32+
<div class="stat-number" id="pass-rate">0%</div>
33+
<div class="stat-label">&#9989; Overall Pass Rate</div>
34+
</div>
35+
<div class="stat-card">
36+
<div class="stat-number" id="total-test-cases">0</div>
37+
<div class="stat-label">&#128295; Total Test Cases</div>
38+
</div>
39+
</div>
40+
41+
<!-- Detailed Test Case Breakdown -->
42+
<div class="summary-stats">
43+
<div class="stat-card stat-success">
44+
<div class="stat-number" id="passed-tests">0</div>
45+
<div class="stat-label">&#9989; Passed Tests</div>
46+
</div>
47+
<div class="stat-card stat-danger">
48+
<div class="stat-number" id="failed-tests">0</div>
49+
<div class="stat-label">&#10060; Failed Tests</div>
50+
</div>
51+
<div class="stat-card stat-warning">
52+
<div class="stat-number" id="skipped-tests">0</div>
53+
<div class="stat-label">&#9888; Skipped Tests</div>
54+
</div>
55+
</div>
56+
57+
<!-- Filter Controls -->
58+
<div class="filter-controls">
59+
<div class="filter-row">
60+
<div class="filter-group">
61+
<label for="filter-distribution">&#128039; Distribution</label>
62+
<select id="filter-distribution">
63+
<option value="">All Distributions</option>
64+
</select>
65+
</div>
66+
<div class="filter-group">
67+
<label for="filter-provisioner">&#128295; Provisioner</label>
68+
<select id="filter-provisioner">
69+
<option value="">All Provisioners</option>
70+
</select>
71+
</div>
72+
<div class="filter-group">
73+
<label for="filter-rms">&#9881; Resource Manager</label>
74+
<select id="filter-rms">
75+
<option value="">All Resource Managers</option>
76+
</select>
77+
</div>
78+
<div class="filter-group">
79+
<label for="filter-status">&#127919; Status</label>
80+
<select id="filter-status">
81+
<option value="">All Statuses</option>
82+
<option value="pass">&#9989; Pass Only</option>
83+
<option value="fail">&#10060; Fail Only</option>
84+
<option value="warning">&#9888; Warning Only</option>
85+
</select>
86+
</div>
87+
</div>
88+
<div class="filter-row">
89+
<div class="filter-group">
90+
<label for="filter-architecture">&#127959; Architecture</label>
91+
<select id="filter-architecture">
92+
<option value="">All Architectures</option>
93+
</select>
94+
</div>
95+
<div class="filter-group">
96+
<label for="filter-network">&#127760; Network</label>
97+
<select id="filter-network">
98+
<option value="">All Network Types</option>
99+
</select>
100+
</div>
101+
<div class="filter-group">
102+
<label for="filter-compiler">&#128296; Compiler</label>
103+
<select id="filter-compiler">
104+
<option value="">All Compilers</option>
105+
</select>
106+
</div>
107+
<div class="filter-group">
108+
<label for="search-test">&#128269; Search Tests</label>
109+
<input type="text" id="search-test" placeholder="Search test names...">
110+
</div>
111+
</div>
112+
</div>
113+
114+
<!-- Test Results Table -->
115+
<div class="table-container">
116+
<table id="results-table">
117+
<thead>
118+
<tr>
119+
<th class="sortable" data-sort="test">&#128295; Test Configuration</th>
120+
<th class="sortable" data-sort="status">&#128200; Status</th>
121+
<th class="sortable" data-sort="duration">&#9200; Duration</th>
122+
<th class="sortable" data-sort="passed">&#9989; Passed</th>
123+
<th class="sortable" data-sort="failed">&#10060; Failed</th>
124+
<th class="sortable" data-sort="skipped">&#9888; Skipped</th>
125+
<th class="sortable" data-sort="date">&#128197; Last Run</th>
126+
</tr>
127+
</thead>
128+
<tbody>
129+
<!-- Table content will be populated by update_results.sh -->
130+
<!-- DETAILED_VIEW_END -->
8131
<!-- END HEADER MARKER -->

ansible/roles/repos/files/results.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,11 @@ Alias /results "/results"
77
IndexStyleSheet "/.files/styles.css"
88
Require all granted
99
HeaderName HEADER.html
10+
ReadmeName FOOTER.html
11+
12+
# Ensure UTF-8 encoding for proper emoji display
13+
AddDefaultCharset UTF-8
14+
AddCharset UTF-8 .html
15+
16+
IndexIgnore FOOTER.html
1017
</Directory>

0 commit comments

Comments
 (0)