[Buildbot-devel] How to configure buildbot?

Robert Xu robxu9 at gmail.com
Fri Feb 19 00:56:31 UTC 2010



On 2/18/2010 4:55 PM, Steve 'Ashcrow' Milner wrote:
> 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 ..

Well, I mean, how can I take the source code from the link above?
also (I doubt many people will know how to, but) how can I change the 
above example to automatically pull from SVN and build it with the 
command "mock" instead of "rpmbuild"

-- 
Cya Later,
Robert Xu
Ever tried Linux? :)





More information about the devel mailing list