ci: Backport two patches to the 3.4 prod install process.

This commit is contained in:
Alex Vandiver 2021-11-29 14:37:16 -08:00 committed by Alex Vandiver
parent 5ee78fc14c
commit b161cba078
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ RUN cd $(mktemp -d) \
&& tar -xf "zulip-server-$VERSION.tar.gz" \
&& sudo service rabbitmq-server start \
&& sudo service rabbitmq-server status \
# Version 3.4 predates ddb9d16132a6336b384bf674c4c950cd75d83e5c and 9d57fa97597ec176a8357d6620ab9e670ee19f4e
&& perl -pi -e 's/pgrep -f epmd/which pgrep && pgrep -x epmd/' zulip-server-$VERSION/puppet/zulip/manifests/rabbit.pp \
&& sudo -s "./zulip-server-$VERSION/scripts/setup/install" --self-signed-cert --hostname 127.0.0.1 --email ci@example.com \
&& sudo service rabbitmq-server stop