zulip/tools/ci/production-upgrade-pg
Aman Agrawal 2b23609f9a ci: Remove unused circleci config file and update codebase.
We have disabled CircleCI and are using GitHub Actions for automated
testing.

docs: Changed context from CircleCI to Github Actions and wrote
some documentation specific to GH Actions.

tools: Replaced env checks for CIRCLECI with GITHUB_ACTION.

README: Use GitHub Actions build status badge.
2021-03-16 15:11:21 -07:00

14 lines
241 B
Bash
Executable File

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