everzet/capifony — pull request #145 by baikunz (2012-07-01 18:24:17+00:00)
Title: Added upload_parameters task

As recommended by the Symfony2 doc, the parameters.yml (.ini) file must not be under version control since each developers environnements are different so they have different needs.
However I wanted to automatically upload my parameters file and that's because there are currently some problems, let me explain.

I wanted to share my parameters.yml between each releases so I added "app/config/parameters.yml" to :shared_files. The problem is that there is no parameters.yml in my repo so it failed to deploy, I had to manually create this file before launching my deploy.
If I create an empty parameters.yml file on the server, the symlinking succeeds. however the deploy can't finish because the cache warm up needs some valid parameters.

That's why I introduced this task which can be used using the multistage extension, you can then have your specific parameters file for each server.