search for: on_rollback

Displaying 6 results from an estimated 6 matches for "on_rollback".

Did you mean: do_rollback
2006 Mar 16
4
Capistrano :update_code problem
...o make a symbolic link to a dir that doesnt exist... I checked the gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb which seems to be the source and found this.. ************************************************************************* task :update_code, :roles => [:app, :db, :web] do on_rollback { delete release_path, :recursive => true } source.checkout(self) run <<-CMD rm -rf #{release_path}/log #{release_path}/public/system && ln -nfs #{shared_path}/log #{release_path}/log && ln -nfs #{shared_path}/system #{release_path}/public/system CMD end...
2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote server? In the docs it says that one cannot use file:// so what''s the configuration step for resolving this issue? Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2011 Nov 09
4
Starting out with puppet and capistrano
Hey guys. I am starting out with puppet and am in the process of writing a bootstrap script for the clients and a capistrano recipe for the server. I have the client bootstrap done which installs ruby, puppet, sets a host name, and then points the client at the puppet server and now I am in the process of setting up the puppet server. My first attempt was to set up a git project for puppet, an
2006 Feb 25
1
a switchtower recipe to copy rather than checkout
...elease_path}/public/dot.htaccess.deploy #{release_path}/public/.htaccess" end desc <<DESC Update all servers with the latest release of the source code. This is a modified version that copies a local copy to the remote site DESC task :update_code, :roles => [:app, :db, :web] do on_rollback { delete release_path, :recursive => true } #puts "doing my update_code" temp_dest= "tmp_code" #puts "...get a local copy of the code into #{temp_dest} from local svn" # but this could also just be your local development folder system("svn...
2006 Feb 19
8
SwitchTower to skip config/ directory
Hello, I am trying to figure out how to use switch tower.I have a local copy of source code and I want to put it on the host.Now I dont want to put directories like config/ because the settings on the host and the one on my machine are different. Any way to do this? Also is svn necessary to use SwitchTower? Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when working in a shared hosting environment, the Capistrano model can be outside the capabilities allowed by the Web host. I simply need to push selected directories (on a changed-file basis) out to a server. I have about 80% of the code written to do this (I''m considering YAC for the name, with a nod to