[Buildbot-devel] How to configure buildbot?

Steve 'Ashcrow' Milner smilner at redhat.com
Thu Feb 18 21:55:24 UTC 2010


On 18/02/10 16:44 -0500, Robert Xu wrote:
>Seems good. But how can I implement this into the buildbot?
>(and if anyone else can help, how can I use "mock" instead of rpmbuild?)
>
>On 2/17/2010 11:06 PM, Charles Lepple wrote:
>> On Wed, Feb 17, 2010 at 5:44 PM, Robert Xu<robxu9 at gmail.com>  wrote:
>>    
>>> I'm wondering, how can I set up a buildbot to build RPMs from spec files
>>> in an SVN repo? I'm having trouble trying to figure out what to do...
>>>      
>> Have you taken a look at the RpmBuild buildstep class?
>>
>> This is the code:
>>
>> http://djmitche.github.com/buildbot/docs/latest/reference/buildbot.steps.package.rpm.rpmbuild-pysrc.html#RpmBuild.start
>>
>> Consider how you are currently building RPMs from the command line.
>> You might also need to set a few RPM macros to point to somewhere
>> other than /usr/src/rpm.
>>
>>    
>
>-- 
>Cya Later,
>Robert Xu
>Ever tried Linux? :)
>

In the past I would:

  1. Check out source
  2. Run tests
  .. other steps that are custom to what you do before saying it's good to package ..
  3. Use RpmBuild(specfile=where/your/spec/is, dist='your-distrubutions-tag')


I don't follow what you mean by using mock instead of rpmbuild though .. 

-- 
kthxbye!
Steve 'Ashcrow' Milner
Agent of Infosec
RHCE: https://www.redhat.com/training/certification/verify/?certno=805009277242449
ITIL Foundation: c.721843
IRC: ashcrow
GnuPG ID: 28DFD4BE

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT/MU/O d-- s:+> a- C+++$ UBL+++$ P++@ L+++$>++++ !E--> W+++$ !N-
!o K--? !w-- !O- M- !V- PS PE+ Y+ PGP+++ t+ !5 !X R tv+ b+>++ DI+ !D-
G e h !r>+++ y?
------END GEEK CODE BLOCK------

"In the heat of conversation I may have said certain things I believe 
to be untrue. The alleged lie that you might have heard me saying 
allegedly moments ago ... that's a parasite that lives in my neck." 
     -- Tad Ghostal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20100218/5957a007/attachment.bin>


More information about the devel mailing list