zulip/scripts/setup
Alex Vandiver 1fa4ef0271 upgrade-postgres: Catch failed pg_upgradecluster exit code.
Because the command is part of a pipe sequence, the exitcode defaults
to the last in the sequence, which is not the most important one here.

Set pipefail, which sets the exit status to the exit code of the last
program in the sequence to exit non-zero, or 0 if all succeeded.  This
prevents the upgrade from barreling onward and setting
`postgres.version` improperly if the database upgrade step failed.
2020-10-15 15:21:30 -07:00
..
configure-rabbitmq configure-rabbitmq: Allow running as root. 2019-04-04 16:52:20 -07:00
create-db.sql create-db.sql: Ensure using en_US.UTF-8 encoding. 2020-08-24 12:24:38 -07:00
create-pgroonga.sql postgres-create-db: Split into non-pgroonga and pgroonga scripts. 2019-07-17 16:18:22 -07:00
debathena-archive.asc scripts: Initialize setup-apt-repo-debathena. 2018-12-11 13:01:26 -08:00
flush-memcached memcached: Switch from pylibmc to python-binary-memcached. 2020-08-06 12:51:14 -07:00
generate-self-signed-cert shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
generate_secrets.py python: Use standard secrets module to generate random tokens. 2020-09-09 15:52:57 -07:00
initialize-database shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
inline_email_css.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
install install, provision: Treat all nonzero exit codes as failure, not just 1. 2019-07-19 11:22:11 -07:00
pgdg.asc install: Use the apt postgres server packages from postgres. 2020-06-16 17:05:46 -07:00
pgroonga-debian.asc setup: Update groonga APT repository signing key. 2019-09-23 16:01:39 -07:00
pgroonga-ppa.asc
postgres-init-db shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
restore-backup python: Pre-fix a few spots for better Black formatting. 2020-09-03 17:51:09 -07:00
setup-certbot shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
sha256-tarball-to shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
terminate-psql-sessions terminate-psql-sessions: Rely on the caller to set PGHOST, PGUSER. 2020-06-15 21:37:14 -07:00
upgrade-postgres upgrade-postgres: Catch failed pg_upgradecluster exit code. 2020-10-15 15:21:30 -07:00