Mailinglist Archive: zypp-devel (115 mails)

< Previous Next >
[zypp-devel] Announcing CruiseControl
  • From: "J. Daniel Schmidt" <jdsn@xxxxxxx>
  • Date: Mon, 23 Jul 2007 20:39:15 +0200
  • Message-id: <200707232039.15555.jdsn@xxxxxxx>
Hi zypp developers,

You might have seen some eMails with a strange subject 
"[CruiseControl] libzypp-something build failed" on 
zypp-commit@xxxxxxxxxxxxx
So here is the explanation:


I set up a CruiseControl server for libzypp. CruiseControl is a 
service that regularly checks the SVN repository (currently 2 minutes) 
for new checkins and in case of a change rebuilds the project.
If the build fails, CruiseControl sends a notification eMail to 
zypp-commit@xxxxxxxxxxxxx
This should lead to "Continuos Integration"[1].


Sorry to all external people - the following is only available 
internally!


SUSE-internal developers can also monitor the build status and request 
rebuilds via a web interface:  
  http://cit32.suse.de:3333/


You may also add your own project to CruiseControl and let it rebuild 
on every svn checkin.
Connect to the machine via SSH as user "ccrb" (default password).
Go to the directory /CI/ccrb .

Use the folling command to add a new project:
 $ ./cruise add project-name -u http://svn.somewhere.org/project-name

Eg. this command adds the refactoring branch of libzypp to 
CruiseControl (this branch is unused now - so please do not add it):
 $ ./cruise add libzypp-refactoring-10_3 -u 
http://svn.opensuse.org/svn/zypp/branches/REFACTORING-10_3/libzypp

Your new project is located at:
  /CI/ccrb/projects/project-name

In there open the file cruise_config.rb and change it according to 
your needs. If the build process requires a script also provide it in 
the same directory.
Find example configurations in /CI/config_examples.

Please note: The machine is a VMware machine - so please use icecream 
to build your projects.



Please send any questions and recommendations to me.



[1] http://www.martinfowler.com/articles/continuousIntegration.html

Ciao,
   Daniel

-- 
J. Daniel Schmidt <jdsn@xxxxxxx>         SUSE Linux Products GmbH 
Research & Development                   Maxfeldstr. 5
GF: Markus Rex, HRB 16746 (AG Nürnberg)  D-90409 Nürnberg
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups