mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
These hooks are run immediately around the critical section of the upgrade. If the upgrade fails for preparatory reasons, the pre-deploy hook may not be run; if it fails during the upgrade, the post-deploy hook will not be run. Hooks are called from the CWD of the new deploy, with arguments of the old version and the new version. If they exit with non-0 exit code, the deploy aborts.
This directory contains scripts that:
-
Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.
-
Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in
tools/).
For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.