For the moment
i was changed my recipe for that
set :scm_username , "b.michelin"
############################################################################################
set :application, "partenaires"
set :repository, "svn+ssh://[EMAIL PROTECTED]/var/lib/svn/
#{application}/"
set :deploy_to, "/var/www/apps/#{application}"
# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to variable:
# set :deploy_to, "/var/www/#{application}"
# If you aren't using Subversion to manage your source code, specify
# your SCM below:
# set :scm, :subversion
role :app, "lamp2"
role :web, "lamp2"
role :db, "lamp2", :primary => true
and i have this error now
[EMAIL PROTECTED]'s password:
* executing "svn checkout -q --username b.michelin --password --no-
auth-cache -r72 svn+ssh://[EMAIL PROTECTED]/var/lib/svn/
partenaires/ /var/www/apps/partenaires/releases/20071015202222 &&
(echo 72 > /var/www/apps/partenaires/releases/20071015202222/
REVISION)"
servers: ["lamp2"]
Password:
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/apps/partenaires/releases/
20071015202222; true"
servers: ["lamp2"]
** [deploy:update_code] exception while rolling back:
Capistrano::ConnectionError, connection failed for: lamp2
(Net::SSH::AuthenticationFailed: bmichelin)
connection failed for: lamp2 (Net::SSH::AuthenticationFailed:
bmichelin)
On 15 oct, 16:21, Bolo <[EMAIL PROTECTED]> wrote:
> Is that the entire contents of your deploy.rb?
>
> Yes
>
> And i use Rails 2.0 preview, with this project i did use before
> Capistrano. It's a clear project :(
>
> On 15 oct, 16:07, Jamis Buck <[EMAIL PROTECTED]> wrote:
>
> > Is that the entire contents of your deploy.rb?
>
> > For some reason, it is picking up your local username (bmichelin)
> > instead of using scm_username.
>
> > - Jamis
>
> > On Oct 15, 2007, at 1:53 PM, Bolo wrote:
>
> > > Same thing
>
> > > always bmichelin and not b.michelin
>
> > > pc-mq-dsi3:~/Documents/Coding-Dev/partenaires bmichelin$ cap deploy
> > > * executing `deploy'
> > > * executing `deploy:update'
> > > ** transaction: start
> > > * executing `deploy:update_code'
> > > [EMAIL PROTECTED]'s password:
>
> > > maybe my recipe is wrong
> > > ?
>
> > > set :scm_username , "b.michelin"
> > > ######################################################################
> > > ######################
>
> > > set :application, "partenaires"
> > > set :repository, "svn+ssh://192.168.1.30/var/lib/svn/#{application}/"
> > > set :deploy_to, "/var/www/apps/#{application}"
>
> > > role :app, "lamp2"
> > > role :web, "lamp2"
> > > role :db, "lamp2", :primary => true
>
> > smime.p7s
> > 3KTélécharger
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---