Displaying 20 results from an estimated 8000 matches similar to: "Capistrano/SwitchTower: DB activity for deploy task?"
2006 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All,
I have successfully executed the "deploy" task in Capistrano/Switchtower
to establish a symbolic link named "current" which points to the current
version of my app. on my remote server.
My app. was already deployed to the existing Rails root directory (call
it "appname") though.
I have Apache fronting my app. through a virtual host whose doc. root is
itself
2006 Apr 25
2
Capistrano :db role
Hello,
Can someone explain me why Capistrano deploys rails code to both :web and :db
roles, not only to :app role, which is the only role that actually needs this
code.
In my setup I do not want to give any SSH access to :db servers other than
server management, which is done outside Capistrano. So why Capistrano
migrate task needs this access while it could to it from :app server, which
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run
"rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed
error. The version of Switchtower I''m using is 1.0.0 and the deploy task is
the default supplied with Switchtowe.
However, I dont have any problem when :db is changed to the same as :web and
:app.
-------------- next part
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across
multiple remote hosts. It was formerly known as SwitchTower.
Installation:
gem install capistrano
Manual:
http://manuals.rubyonrails.org/read/book/17
Version 1.1 introduces a few changes:
* Renamed! Due to the trademark infringement debacle of last week, we
had to change the name. Moving forward it will be known as
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success.
I can execute: ''rake remote_exec ACTION=setup''
but when I try to execute : ''rake deploy''
I got this error:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
2006 Apr 12
3
Capistrano Issues
Well I finnally bit the bullet and upgrade to capistrano and have run
into several issues that I can''t seem to find a fix for. Switchtower
worked perfectly but I can not get cap to work especially with the
change to the command to run a deploy.
The following code worked fine in switchtower to deploy:
switchtower -vvvv -S stage=stage -r config/deploy -a deploy
The stage variable
2006 Feb 11
1
Switchtower deploy fails though setup works
I''m trying to use SwitchTower to deploy from XP to Dreamhost. Based on
<http://nubyonrails.com/pages/shovel_dreamhost>, my deploy.rb looks like:
set :user, ''dankohn''
set :application, "flydash.com"
set :repository, "http://svn.flydash.com/flydash/flydash"
#set :repository, "svn+ssh://home/#{user}/svn/flydash"
#set :repository,
2006 Jan 05
4
Switchtower for distribution?
I am just about to dive into Switchtower, but had a thought (go
figure?).
Could Switchtower use be inverted?
Could user, clients, or customers install switchtower and "pull"
applications?
Just a thought.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for
the life of me can''t figure out why I''m getting this exception thrown.
I''ve switched from Switchtower to Capistrano, and when I run rake
deploy I get this output:
** [update_code] exception while rolling back: NameError,
uninitialized constant Net::SSH::Transport::OSSL
2005 Nov 07
5
Switchtower deployment
Hi,
Has anyone experiences using SwitchTower (Windows) in a shared hosting
environment (Textdrive)? I already patched the SwitchTower rake tasks (I
don''t know if someone is interested on it), but i still experience some
problems (not in the sudoers list, ...).
Thank you for answer (and thank you to the textdrive guys, i never had a
such fast support!)
--
Jean-Etienne Durand
2006 Apr 10
5
I have a Capistrano 1.1 patch - where does it go?
I have a patch for Capistrano 1.1 - how do I submit it?
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Feb 19
2
SwitchTower 1.0.0
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2006 Jan 26
7
Switchtower Port Issues
Hi there,
I''m having some difficulties finding some decent info on getting
Switchtower to function for my needs. I''ve read most of the
Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97,
however it''s not answering some potent questions I have.
1. The doc mentions, as an example, using an SVN repos at
http://svn.switchtower.com/flipper/trunk
What if I
2006 Jan 04
2
SwitchTower deployment
I''ve been trying to configure SwitchTower to perform deployment of my app to
a Dreamhost server. I can run rake remote_exec ACTION=setup just fine but
rake deploy keeps giving me errors when its checking out the latest revision
from the Subversion repository on the same Dreamhost server. It displays
errors like this:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.1
2005 Dec 22
3
How to specify SwitchTower SSH port
Hi !
Following Ezra's suggestions on http://brainspl.at/pages/perfect_vps,
I changed the port sshd listens to.
I'm trying to setup SwitchTower, and I don't know how to set the port.
Where should that be configured ? I can't see anything in
switchtower.rake, nor can I see it in the source.
If this already exists, can anybody point me to documentation. If
not, can I get any
2006 Aug 16
4
Deploying only what you need with Capistrano?
The recent Rails security issue highlighted a concern I''ve had about Rails
deploys; namely, you shouldn''t deploy anything to production that you don''t
need there. Rails apps have a number of scripts--potential security holes or
DOS targets in this case--along with all the other application code you
need. There''s no reason you should have script/server, console,
2006 Feb 19
10
Switchtower - unitialized constant
Just loaded up Switchtower 1.0 today, via gems. I''m on OS X (10.4.5),
with ruby and friends installed via darwinports in opt/local.
After installing ST, I switchtowerized my app, set up the deploy recipe,
then ran:
rake remote_exec ACTION=setup
When I do, i get this error:
rake aborted!
uninitialized constant SwitchTower
Obviously, this happens with any of the tasks in ST (like
2006 Jan 16
1
switchtower custom tasks question.
hi,
i''m just getting started using switchtower for deployment. i''m working
with a small team of 3 and a hosted subversion repository.
i have switchtower working, but i need to create two custom tasks and
have those tasks run at deployment. 1) copy a working dispatch.fcgi
from another folder, and 2) copy db/database.example to
db/database.yml
here is what i''ve tried,
2006 Mar 07
2
Can I set up multiple deploy targets with Capistrano?
I have two servers up, one will be used for production, one for
testing stuff. I''d like to set things up so I can upgrade each one
independently. So I could type
$ rake deploy
That will update the test server. I do that, test it for a few
minutes/hours/days whatever, then I can put it onto the main server:
$ rake deploy_production
Is this possible? If so, how can I do it?
Pat