diff --git a/verification/run-verification.sh b/verification/run-verification.sh new file mode 100644 index 0000000..e5b8bb2 --- /dev/null +++ b/verification/run-verification.sh @@ -0,0 +1,51 @@ +#!/bin/bash +# Complete Verification Runner +# Runs smoke-test.sh then generate-evidence.sh + +set -e + +echo "==========================================" +echo "Runtime Role Matrix - Verification Suite" +echo "==========================================" +echo "" + +# Step 1: Run smoke tests +echo ">>> Step 1: Running Smoke Tests..." +echo "" +bash verification/smoke-test.sh +SMOKE_EXIT=$? +echo "" + +# Step 2: Generate evidence report +echo ">>> Step 2: Generating Evidence Report..." +echo "" +bash verification/generate-evidence.sh +EVIDENCE_EXIT=$? +echo "" + +# Step 3: Display results +echo "==========================================" +echo "Verification Complete" +echo "==========================================" +echo "" +echo "Output files:" +echo " - verification/smoke-test-report.json" +echo " - verification/evidence-report.json" +echo "" + +# Show evidence report summary if jq available +if command -v jq &>/dev/null; then + echo "Evidence Report Summary:" + jq '.summary' verification/evidence-report.json 2>/dev/null || true + echo "" + echo "CI Pipeline Checklist:" + jq -r '.ci_pipeline_checklist[] | " [\(.status)] \(.description)"' verification/evidence-report.json 2>/dev/null || true + echo "" + echo "Operational Risks Checklist:" + jq -r '.operational_risks_checklist[] | " [\(.status)] \(.description)"' verification/evidence-report.json 2>/dev/null || true +fi + +echo "" + +# Exit with appropriate code +exit $((SMOKE_EXIT || EVIDENCE_EXIT))