valtech / aem-easy-content-upgrade

AEM Easy Content Upgrade simplifies content migrations in AEM projects
Other
61 stars 27 forks source link

Automatic script execution on AEM cloud #171

Closed gruberrolandvaltech closed 2 years ago

gruberrolandvaltech commented 2 years ago

As install hooks are not working on publish we need a different solution.

Startup hook: isues because content packages are replicated to publish. The bundle will be started before and the startup hook not work. Potential solution: locate scripts in /apps to handle them as part of the software in the image We need to make sure that scripts are executed only during content deployment, not during image building.

Resource listeners: should work but we loose the grouping of a package installation Scripts with "always" flag will not be executed, too.

gruberrolandvaltech commented 2 years ago

https://github.com/valtech/aem-easy-content-upgrade/pull/182