zulip/tools/ci/production-upgrade-pg

14 lines
232 B
Bash
Executable File

#!/usr/bin/env bash
# This tests upgrading PostgreSQL
set -e
set -x
cd /home/github/zulip
su zulip -c ./scripts/stop-server
./scripts/setup/upgrade-postgresql
supervisorctl start all
echo "Upgrade of PostgreSQL complete!"
exit 0