Skip to content

Commit 31b4563

Browse files
ci: harden Tier CI result handling and dashboard polish (#3373)
This PR is a follow-up improvement to the CVA6 Tier CI flow introduced in PR #3285. It focuses on hardening Tier CI result handling and polishing a few dashboard presentation details. Co-authored-by: JeanRochCoulon <jean-roch.coulon@thalesgroup.com>
1 parent d0ad8d4 commit 31b4563

6 files changed

Lines changed: 1403 additions & 201 deletions

File tree

.github/scripts/dashboard_tiers/generate_dashboard.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import argparse
1111
import json
1212
import os
13+
import shutil
1314
from datetime import datetime, timezone
1415
from pathlib import Path
1516

@@ -310,6 +311,14 @@ def main():
310311
with open(output_file, "w") as f:
311312
f.write(html)
312313

314+
# Copy static dashboard assets, such as the local OpenHW logo.
315+
static_dir = Path(__file__).parent / "static"
316+
if static_dir.exists():
317+
assets_dir = output_dir / "assets"
318+
if assets_dir.exists():
319+
shutil.rmtree(assets_dir)
320+
shutil.copytree(static_dir, assets_dir)
321+
313322
print(f"Dashboard generated: {output_file}")
314323
print(f" Workflows: {len(workflows)}")
315324
for wf in workflows:

0 commit comments

Comments
 (0)