mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
ci: Test pgroonga installation.
This commit is contained in:
committed by
Tim Abbott
parent
86cf3be39f
commit
73055255bb
@@ -37,6 +37,7 @@ cp -a \
|
||||
tools/ci/production-install \
|
||||
tools/ci/production-verify \
|
||||
tools/ci/production-upgrade \
|
||||
tools/ci/production-pgroonga \
|
||||
tools/ci/production-upgrade-pg \
|
||||
tools/ci/send-failure-message \
|
||||
package.json yarn.lock \
|
||||
|
14
tools/ci/production-pgroonga
Normal file
14
tools/ci/production-pgroonga
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# This tests installing the pgroonga extension
|
||||
set -e
|
||||
set -x
|
||||
|
||||
crudini --set /etc/zulip/zulip.conf machine pgroonga enabled
|
||||
/home/zulip/deployments/current/scripts/zulip-puppet-apply -f
|
||||
echo 'USING_PGROONGA = True' >>/etc/zulip/settings.py
|
||||
su zulip -c '/home/zulip/deployments/current/manage.py migrate pgroonga'
|
||||
|
||||
su zulip -c /home/zulip/deployments/current/scripts/restart-server
|
||||
|
||||
echo 'Installation of pgroonga complete!'
|
||||
exit 0
|
Reference in New Issue
Block a user