galaxyproject / ansible-galaxy

An Ansible role for managing a Galaxy server
https://galaxy.ansible.com/galaxyproject/galaxy
58 stars 75 forks source link

Run client build before database migration #172

Open natefoo opened 1 year ago

natefoo commented 1 year ago

Your Galaxy server can typically continue to work while an upgrade is in progress before restarting, until either the new client is installed (which might break things) or the database is migrated (which might break things). Because the migrations (typically) don't take too long and the client build can take a while, especially on a slow network filesystem (but nothing is written to the static directory until the end), we could switch the client build to occur before the migration (currently it happens right after) so that the time period that Galaxy might be broken is the shortest.