From 8dc7382252bd57e459ffff86c34eb8fb17e0534b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 4 Mar 2025 21:55:49 +0000 Subject: [PATCH] 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 --- config.json | 4 ++++ scripts/dashboard/index.html | 41 ++++++++++++++++++++++++++++++++++++ scripts/run-dashboard-index | 11 ++++++++++ 3 files changed, 56 insertions(+) create mode 100644 scripts/dashboard/index.html create mode 100755 scripts/run-dashboard-index diff --git a/config.json b/config.json index d24da94..c5d3913 100644 --- a/config.json +++ b/config.json @@ -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" : { diff --git a/scripts/dashboard/index.html b/scripts/dashboard/index.html new file mode 100644 index 0000000..972bbc9 --- /dev/null +++ b/scripts/dashboard/index.html @@ -0,0 +1,41 @@ + + + +Yocto Project: Valkyrie Build Cluster + + + +

Yocto Project: Valkyrie Autobuilder

+

Please choose from the most frequently used links

+ +

Cluster Buildbot Controller: +valkyrie.yoctoproject.org +
+
+Unreleased Artefacts: +valkyrie.yocto.io/pub +
+
+Build Performance and Autobuilder Test Result Index: +valkyrie.yocto.io/pub/non-release +
+
+OpenEmbedded-Core CVE Status and Patch Metrics: +valkyrie.yocto.io/pub/non-release/patchmetrics +
+
+Meta-OpenEmbedded CVE Status and Patch Metrics: +valkyrie.yocto.io/pub/non-release/patchmetrics-meta-oe +
+
+Auobuilder Intermittent Issue Summary: + + https://valkyrie.yocto.io/pub/non-release/abint/ +

+

+ + diff --git a/scripts/run-dashboard-index b/scripts/run-dashboard-index new file mode 100755 index 0000000..6644ee7 --- /dev/null +++ b/scripts/run-dashboard-index @@ -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/ +