- From: Jenn Fountain <
>
- To:
- Subject: [chef] Re: Re: Problem with deploy_branch
- Date: Thu, 26 Sep 2013 14:58:42 -0400
On Sep 26, 2013, at 1:27 PM, Daniel DeLeo <
">
> wrote:
On Wednesday, September 25, 2013 at 6:44 PM, Jenn Fountain wrote:
Here is the recipe I am having problems with:
deploy_branch node[:app][:frontend][:directory] do repository node[:app][:git_repository] ssh_wrapper node[:app][:git_ssh_wrapper] branch node[:app][:branch] enable_submodules true
user 'app' group 'nginx'
create_dirs_before_symlink.clear purge_before_symlink %w{log} symlink_before_migrate.clear symlinks({'log' => 'log'})
action :deploy end
It is creating a copy of repository_cache but seems to be keeping older files and causing code conflicts and issues. I am running nginx and php_fpm. Can you be more specific? Is Chef giving you an error message? What behavior are you expecting, and how is it different from the behavior you're observing?
We removed certain modules in the .gitmodules file but they still existed in the new revisions and existed in cache-copy.
Is anyone aware of any issues with what I am doing or is there an known issue? Anyone to disable repo_cache?
If you don't need all of the features of the deploy resource, you can roll you own deployment by using the git resource directly.
I do like the features - symlink, etc. I would like to continue using it. Open for suggestion now.
Thanks for any help! Jenn
|
Archive powered by MHonArc 2.6.16.