I’m working on an Oro project that is being deployed to an environment that can be totally destroyed and redployed at any moment. This means we need to rebuild the environment each time this happens. To aid in that, we’re using a pre-packaged version of Oro so we don’t have to wait for composer to install all its dependencies. However, we still need to install the Zendesk package as part of the rebuild, which we’re doing with the following command:Shell1php app/console oro:package:install oro/crm-zendesk 1.5.0 --env=prod
This is incredibly slow and we often see the generic ‘Killed’ error that indicates composer has run out of memory. We’re also using Docker and see OOM errors coming from that too. We’ve got 8GB of memory on the machine and we’re ensuring CLI PHP has access to it all, but nothing helps.
We’ve also tried copying the composer.json and composer.lock file from a live version, added them to the pre-built package and run composer install rather than the package install command, but the Zendesk package then isn’t installed.
Is there anything else we can do? It seems really bad form to run package installation commands on a production environment.
You must be logged in to reply to this topic.