On verify, or maybe another hook, the drush CiviCRM upgrade function should be called. (the recommended way to upgrade a site in Aegir is to migrate it from one platform to another)

Also need to check if the upgrade was successful and trigger a rollback if not.

Comments

bgm’s picture

Status: Active » Needs review

I have committed to git a first attempt at supporting the upgrades. It also rollbacks automatically if it fails (drush_set_error).

However, the method used to detect if the upgrade was successful is not very clean (preg_match a string in the upgrade output). Needs testing on a non-english installation.

bgm’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta1
Status: Needs review » Fixed

Did a few more tests from 3.3 to 3.4 on a fr_CA site, and found a small bug (due to l10n messages). Fixed it in the git repository.

Closing the issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.