-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi there,
I installed this plugin for my Symfony2 project. When the composer install task runs, it doesn't ask me to provide parameters like it does if I run composer install manually. I have this in my composer.json file:
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
]
},
"extra": {
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
},
If it doesn't generate correct parameter file, the next hook clearCache won't work properly because of the wrong database connection. Is there anything I can do to get buildParameters working during a deployment?
I do not have --no-interaction argument in the composer install command.
Metadata
Metadata
Assignees
Labels
No labels