build: add repeatable local release gates

This commit is contained in:
2026-09-20 20:12:17 +08:00
parent a557ba5af0
commit 0f95ca4997
4 changed files with 29 additions and 1 deletions

15
scripts/check-release-local.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Run the repository-local release gates. This does not claim production HA,
# capacity, failover, RPO/RTO, or target-environment approval.
set -eu
TASK_MAKE=${MAKE:-make}
"$TASK_MAKE" test
"$TASK_MAKE" vet
"$TASK_MAKE" build
"$TASK_MAKE" protocol-check
"$TASK_MAKE" docs-check
"$TASK_MAKE" sdk-check
printf '%s\n' '{"status":"local_release_gates_passed","mysql_integration":"run make integration separately","production_acceptance":"target environment evidence still required"}'