mirror of https://github.com/zulip/zulip.git
parent
51f069aa18
commit
4d02c6efef
|
@ -79,7 +79,5 @@ try:
|
||||||
|
|
||||||
subprocess.check_call(["sudo", os.path.join(deploy_path, "scripts", "lib", "upgrade-zulip-stage-2"),
|
subprocess.check_call(["sudo", os.path.join(deploy_path, "scripts", "lib", "upgrade-zulip-stage-2"),
|
||||||
deploy_path, "--from-git"] + deploy_options)
|
deploy_path, "--from-git"] + deploy_options)
|
||||||
|
|
||||||
subprocess.check_call(["./scripts/purge-old-deployments"])
|
|
||||||
finally:
|
finally:
|
||||||
release_deployment_lock()
|
release_deployment_lock()
|
||||||
|
|
|
@ -79,3 +79,5 @@ if os.path.exists("/etc/supervisor/conf.d/zulip_db.conf"):
|
||||||
subprocess.check_call(["supervisorctl", "start", "process-fts-updates"], preexec_fn=su_to_zulip)
|
subprocess.check_call(["supervisorctl", "start", "process-fts-updates"], preexec_fn=su_to_zulip)
|
||||||
|
|
||||||
logging.info("Upgrade complete!")
|
logging.info("Upgrade complete!")
|
||||||
|
|
||||||
|
subprocess.check_call(["./scripts/purge-old-deployments"])
|
||||||
|
|
Loading…
Reference in New Issue