Add Upgrade Finalize Stage

- Split upgrade into 2 stages: install, finalize
-- This is required as the container needs to be re-loaded before running the final step
- From now on 2 commands will need to be executed
This commit is contained in:
Clemente Raposo 2021-12-31 15:04:07 +00:00
parent 38a030e029
commit 533ce665af
13 changed files with 279 additions and 4 deletions

View file

@ -217,6 +217,12 @@ services:
- !tagged { tag: 'app.upgrade.step' }
- '@monolog.logger.upgrade'
App\Install\Service\Upgrade\UpgradeFinalizeHandler:
# inject all services tagged with app.upgrade.step as first argument
arguments:
- !tagged { tag: 'app.upgrade.step' }
- '@monolog.logger.upgrade'
App\Install\Service\LegacyMigration\LegacyMigrationHandler:
# inject all services tagged with app.legacy.migration.step as first argument
arguments: