Rename fixed deployment entry to production

This commit is contained in:
2026-10-09 11:52:34 +08:00
parent 4872deb08e
commit 1b4f8be2bd
11 changed files with 87 additions and 30 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ set -euo pipefail
ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
cd "$ROOT"
unformatted=$(find contracts internal cmd deploys/preprod -type f -name '*.go' -print0 | xargs -0 gofmt -l)
unformatted=$(find contracts internal cmd deploys/production -type f -name '*.go' -print0 | xargs -0 gofmt -l)
if [[ -n "$unformatted" ]]; then
printf 'Go files need gofmt:\n%s\n' "$unformatted" >&2
exit 1
@@ -19,7 +19,7 @@ if [[ -e scripts/mq-only-acceptance-local.sh ]]; then
exit 1
fi
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s deploys/preprod -p 'test_*.py'
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s deploys/production -p 'test_*.py'
./scripts/check-contracts.sh
bash ./scripts/check-install-diagnostics.sh
go mod verify