Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ci: Test that the installed PostgreSQL was what was asked for.
Alex Vandiverdffbd9145216
diff --git a/tools/ci/production-install b/tools/ci/production-installindex 09af9589558..a076314827c 100755--- a/tools/ci/production-install+++ b/tools/ci/production-install@@ -80,6 +80,10 @@ if [ -n "${POSTGRESQL_VERSION:-}" ]; thenecho "Installer did not install the PostgreSQL $POSTGRESQL_VERSION that we asked for!"exit 1fi+ if ! su - zulip -c "psql -tc 'select version()'" | grep -q "^ PostgreSQL $POSTGRESQL_VERSION\."; then+ echo "Installed PostgreSQL is not actually PostgreSQL $POSTGRESQL_VERSION!"+ exit 1+ fifiecho "Production installation complete!"