[Buildbot-devel] slave os.environ['HOME']

Steve 'Ashcrow' Milner smilner at redhat.com
Thu Jun 25 19:21:18 UTC 2009


On 25/06/09 21:02 +0200, Ryan Raasch wrote:
>The way of building out of tree is not possible with buildbot, it seems. 
>A configure script is run
>
>when in /home/build/usr/src-build one runs 
>/home/build/usr/src/configure. This absolute path stuff is not possible. 
>Unless a home directory is not used (/opt, /var, ... ) (now that i think 
>about it).
>
>
>Or is there another way?

I have not been following this thread very well, but if I was doing
this I'd have different slaves ... one per build target. Each might have the
first 3 or 5 steps with the last steps different. Each would have it's own
user and would destroy/clean up post build to avoid any artifact pollution.

Example:

LinuxRPMSlave
1. Checkout to .
2. verify release info
3. build docs
4. rpmbuild
5. publish result
6. tear down/clean up

LinuxDumbDist
1. Checkout to .
2. verify release info
3. build docs
4. ./configure
5. make
6. make install with prefix
7. tar/gz results
8. publish result
9. tear down/clean up

OS/X DMG
1. Checkout to .
2. verify release info
3. build docs
4. ./configure
5. make
6. make install with prefix
7. create dmg
8. publish result
9. tear down/clean up

etc..


-- 
kthxbye!
Steve 'Ashcrow' Milner
Agent of Infosec
IRC: ashcrow
GnuPG ID: 28DFD4BE

"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/20090625/1f100e8b/attachment.bin>


More information about the devel mailing list