mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ci: Use apt-get -y in production-upgrade test.
We currently configure ‘APT::Get::Assume-Yes’ in our custom Docker image, but this is the only place we rely on it (outside of the Dockerfile itself), and it’s better not to. Also ‘apt-get remove && apt-get purge’ is the same as just ‘apt-get purge’. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
ebb4eab0f9
commit
db476bdc51
@@ -16,8 +16,8 @@ set -x
|
||||
# * For rabbitmq-server, we likely need to do this to work around the
|
||||
# hostname changing on reboot causing RabbitMQ to not boot.
|
||||
# * For supervisor, we don't understand why it doesn't start properly.
|
||||
sudo apt-get remove rabbitmq-server supervisor && sudo apt-get purge rabbitmq-server supervisor
|
||||
sudo apt-get install rabbitmq-server supervisor
|
||||
sudo apt-get -y purge rabbitmq-server supervisor
|
||||
sudo apt-get -y install rabbitmq-server supervisor
|
||||
|
||||
# Start the postgresql service.
|
||||
sudo service postgresql start
|
||||
|
Reference in New Issue
Block a user