feat: fixed systemd preproduction deployment with safe state reset
This commit is contained in:
@@ -4,7 +4,7 @@ set -euo pipefail
|
||||
ROOT=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
|
||||
cd "$ROOT"
|
||||
|
||||
unformatted=$(find contracts internal cmd -type f -name '*.go' -print0 | xargs -0 gofmt -l)
|
||||
unformatted=$(find contracts internal cmd deploys/preprod -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,6 +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'
|
||||
./scripts/check-contracts.sh
|
||||
bash ./scripts/check-install-diagnostics.sh
|
||||
go mod verify
|
||||
|
||||
Reference in New Issue
Block a user