[Buildbot-devel] Setting up buildbot for svn+ssh checkout

tom fogal tfogal at sci.utah.edu
Wed Dec 29 18:41:24 UTC 2010


Tom's 5-second ssh key guide:

  ssh-keygen -t rsa
  (no passphrase, for your case)
  scp ~/.ssh/id_rsa.pub remote_system:
  ssh remote_system "cat id_rsa.pub > .ssh/authorized_keys"

I'd create an acct dedicated to this, since you're creating a no-passphrase
sshkey.

-tom

Hugo Carrer <hscarrer at gmail.com> writes:
> Hello,
> I have this config running on debian lenny
>     *  Buildbot: 0.7.8
>     * Twisted: 8.1.0
>     * Python: 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) [GCC 4.3.2]
>     * Buildmaster platform: linux2
> 
> 
> I have a SVN repo configured to allow ssh access, I can't get the
> builder to do a successful checkout of the source this is the relevant
> config (I think :))
> 
> from buildbot.process import factory
> from buildbot.steps import shell, source
> from buildbot.steps.python_twisted import Trial
> svnrep="svn+ssh://server/base/dir/for/sources"
> f = factory.BuildFactory()
> f.addStep(source.SVN(svnurl=svnrep+"/code/cpp", mode="export"))
> 
> 
> The buildbot user exists in the SVN server and has been allowed to
> checkout files from the repo, but it has no password setup since it is
> a system user.
> I guess I should use ssh keys but I don't know how to do that
> 
> Any pointers?
> Regards
> H
> 
> -----------------------------------------------------------------------------
> -
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
>  
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list