- Issue created by @teknocat
The script currently assumes and expects every site to have drush aliases setup, particularly one for the production server, to allow for pulling the production database prior to running updates. This is great if all the sites you manage are hosted by you and are setup the same way using drush aliases. However, if you want to use this for updating sites hosted on other servers with codebases that may be managed by somebody else who may not offer any option to use drush to sync anything to or from production, this isn't much use.
Currently, there is no config option, globally or per-site, to specify whether or not a DB sync should be done first. Furthermore, each site must have a prod drush alias name match configured or it will fail config validation.
Syncing the database should be entirely optional and there should not be any requirement to have or use drush aliases to communicate with any remote servers. It would be ideal to have both global and per-site configurations so it's easy to configure it for various use cases.
Active
1.0
Code