Re: build server at home?

2012-02-27 Thread Gergely Nagy
Dmitry Smirnov only...@member.fsf.org writes:

 Could any of you share experience of having your own private build server?

 I'm thinking of something which could build uploaded source for as many 
 architectures as possible on amd64 host, and ideally put the results to  
 'reprepro'-managed tree.

 The goal is to simplify package deployment to internal infrastructure for  
 evaluation before upload to debian. 

 Any hints for quick start please?

I have a custom system that does something like this, it's pretty
simple, and I'm working on automating even more of it.

What I do, is that I have a couple of sbuild chroots (LVM snapshot
thingies), with which I can build amd64 and i386 packages easily. I also
build packages for a certain derivative distro, not only for Debian, so
whenever I have a package to build, I run a script that does something
like this:

for arch in amd64 i386; do
  for dist in unstable squeeze lucid natty oneiric precise; do
sbuild --arch $arch -d $dist --apend-to-version=~$dist \
   -m MadHouse Project Autobuilder packa...@madhouse-project.org \
   $1
  done
done

Then I collect the results and let reprepro do the rest. There are a few
gotchas there, too, because in my case, I have an arch:all package that
should be the same on all platforms, so I manually use reprepro's
includedeb to add it everywhere. Same goes for the source.

I used to have a few virtual machines, which I booted up from the same
build script, ran a build in there, and shut them down, but turned out
that there were no users for my arm and kfreebsd-* packages, so I
stopped doing that.

One of these days, I'll turn this setup into a buildbot setup or
something similar. (Or even learn how buildd  wanna-build work, along
with dak, which I need to learn anyway)

-- 
|8]


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vcms1vn9.fsf@algernon.balabit



Re: build server at home?

2012-02-27 Thread Dmitry Smirnov
Hi Gergely,

Thank you for sharing your experience - very interesting.

Regards,
Dmitry.


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201202272052.23376.only...@member.fsf.org



Re: build server at home?

2012-02-27 Thread Mathias Ertl
On 2012-02-27 10:19, Gergely Nagy wrote:
 for arch in amd64 i386; do
   for dist in unstable squeeze lucid natty oneiric precise; do
 sbuild --arch $arch -d $dist --apend-to-version=~$dist \
-m MadHouse Project Autobuilder packa...@madhouse-project.org \
$1
   done
 done

Heh. I have pretty much that very same setup. Make you think that there
should be some very long howto on how to build and maintain that.

greetings, Mati

-- 
twitter: @mathiasertl | soup: http://soup.er.tl | xing: Mathias Ertl
I only read plain-text mail!  I prefer signed/encrypted mail!



smime.p7s
Description: S/MIME Cryptographic Signature


Re: build server at home?

2012-02-27 Thread Alex Mestiashvili
On 02/26/2012 02:05 PM, Dmitry Smirnov wrote:
 Dear mentors,

 Could any of you share experience of having your own private build server?

 I'm thinking of something which could build uploaded source for as many 
 architectures as possible on amd64 host, and ideally put the results to  
 'reprepro'-managed tree.

 The goal is to simplify package deployment to internal infrastructure for  
 evaluation before upload to debian. 

 Any hints for quick start please?

 Thank you.

 Regards,
 Dmitry.


   
I found this article very useful:

http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/

s/ubuntu/debian/g

Regards ,
Alex


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f4bb49d.3010...@biotec.tu-dresden.de



build server at home?

2012-02-26 Thread Dmitry Smirnov
Dear mentors,

Could any of you share experience of having your own private build server?

I'm thinking of something which could build uploaded source for as many 
architectures as possible on amd64 host, and ideally put the results to  
'reprepro'-managed tree.

The goal is to simplify package deployment to internal infrastructure for  
evaluation before upload to debian. 

Any hints for quick start please?

Thank you.

Regards,
Dmitry.


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201202270005.46734.only...@member.fsf.org