yocto-autobuilder-helper/scripts/run-dashboard-index
Michael Halstead 56ce05ac27 scripts/run-dashboard-index: Generate parsed-layers.json from the dashboard script
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
2025-03-05 10:24:55 +00:00

549 B
Executable File

#!/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]}")")"

cd $builddir $scriptdir/release-parser.py $scriptdir/layer-parser.py

rsync -irlp --checksum --ignore-times releases.json docs@docs.yoctoproject.org:dashboard/ rsync -irlp --checksum --ignore-times parsed-layers.json docs@docs.yoctoproject.org:dashboard/ rsync -irlp --checksum --ignore-times $scriptdir/dashboard/index.html docs@docs.yoctoproject.org:dashboard/