The journal of Paul M. Watson.

Thursday, February 09, 2006

Authentication for SVN with SwitchTower

If you are using SwitchTower to deploy your apps and your subversion repository needs a different user and password to your deployment boxes then use the following snippet in your deploy.rb:
set :repository, "--username usr --password pass http://repourl/"


It isn't ideal as your password is in deploy.rb but you could use a read-only user. I am hoping I can figure out how to send an environment variable when using rake deploy so that I can set the password then.

I found this little trick on SwitchTower progress.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home