docs: close runtime quality review with consolidated lesson
Intrepid/Prometeu/Runtime/pipeline/pr-master There was a failure building this commit

This commit is contained in:
2026-10-14 14:24:14 +01:00
parent 3f9d235546
commit 39468740c3
11 changed files with 1168 additions and 210 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/env bash
# Validate an already provisioned agent; never install dependencies in Jenkins.
set -euo pipefail
fail() {
echo "Quality-gate prerequisite missing: $*. Provision the agent image before running this job." >&2
exit 1
}
for command in rustup cargo rustc python3 jq rg git make pkg-config; do
command -v "$command" >/dev/null || fail "$command"
done
components=$(rustup component list --installed)
for component in rustfmt clippy llvm-tools-preview; do
if ! grep -Eq "^${component}(-|$)" <<< "$components"; then
fail "Rust component $component"
fi
done
[[ "$(cargo llvm-cov --version 2>/dev/null || true)" == 'cargo-llvm-cov 0.8.5' ]] || fail 'cargo-llvm-cov 0.8.5'
if [[ "$(uname -s)" == Linux ]]; then
pkg-config --exists alsa || fail 'ALSA development files (libasound2-dev)'
fi