Files
zulip/tools/ci/production-upgrade-pg
Tim Abbott 3af0485d84 ci: Unpack installation tarball under /root/.
This ensures that we exercise the fact that the Zulip installer may be
unpacked to a directory that may not be world-readable.

bc45525369 fixed a recent regression in
this behavior that would have been caught by this commit.
2021-05-14 14:31:00 -07:00

12 lines
310 B
Bash
Executable File

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