scripts/run-dashboard-index: Add basic index page for new dashboard site

Add a basic index page for the dashboard site and tag onto the indexing job

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2025-03-04 21:55:49 +00:00
parent 0cd37de01e
commit 8dc7382252
3 changed files with 56 additions and 0 deletions

View File

@ -1373,6 +1373,10 @@
"step2" : {
"shortname" : "Extract ptest logs",
"EXTRACMDS" : ["${SCRIPTSDIR}/generate-ptest-logs.py ${BASE_SHAREDDIR}/pub/non-release/"]
},
"step3" : {
"shortname" : "Populate/update dashboard site",
"EXTRACMDS" : ["${SCRIPTSDIR}/run-dashboard-index ${BUILDDIR}/../"]
}
},
"meta-mingw" : {

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<title>Yocto Project: Valkyrie Build Cluster</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>Yocto Project: Valkyrie Autobuilder</h1>
<p>Please choose from the most frequently used links</p>
<p>Cluster Buildbot Controller:
<a href="https://valkyrie.yoctoproject.org/">valkyrie.yoctoproject.org</a>
<br/>
<br/>
Unreleased Artefacts:
<a href="https://valkyrie.yocto.io/pub/">valkyrie.yocto.io/pub</a>
<br/>
<br/>
Build Performance and Autobuilder Test Result Index:
<a href="https://valkyrie.yocto.io/pub/non-release/">valkyrie.yocto.io/pub/non-release</a>
<br/>
<br/>
OpenEmbedded-Core CVE Status and Patch Metrics:
<a href="https://valkyrie.yocto.io/pub/non-release/patchmetrics/">valkyrie.yocto.io/pub/non-release/patchmetrics</a>
<br/>
<br/>
Meta-OpenEmbedded CVE Status and Patch Metrics:
<a href="https://valkyrie.yocto.io/pub/non-release/patchmetrics-meta-oe/">valkyrie.yocto.io/pub/non-release/patchmetrics-meta-oe</a>
<br/>
<br/>
Auobuilder Intermittent Issue Summary:
<a href="https://valkyrie.yocto.io/pub/non-release/abint/">
https://valkyrie.yocto.io/pub/non-release/abint/</a>
</p>
<p><em></em></p>
</body>
</html>

11
scripts/run-dashboard-index Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Called with $1 as the build directory
builddir=$(realpath "$1")
scriptdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
rsync -irlp --checksum --ignore-times $scriptdir/dashboard/index.html docs@docs.yoctoproject.org:dashboard/