Harden admin telemetry and deployment safeguards
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m30s

This commit is contained in:
2026-07-02 16:10:15 +09:00
parent b1601b0305
commit d780fecf8c
53 changed files with 1590 additions and 656 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
targets=(
".gitea/workflows/deploy.yml"
"deploy.sh"
"deploy_gb.sh"
)
for file in "${targets[@]}"; do
if [ ! -f "$file" ]; then
echo "Missing KST target file: $file" >&2
exit 1
fi
done
if grep -nE 'date \+%Y%m%d_%H%M%S|date \+%Y%m%d' "${targets[@]}" | grep -v 'TZ=Asia/Seoul' >/dev/null; then
echo "Timestamp generation must use TZ=Asia/Seoul." >&2
exit 1
fi
echo "KST timestamp harness passed."