New repository: minisip_autobuild

Erik Eliasson eliasson at it.kth.se
Wed Sep 20 02:53:04 CEST 2006


Version 0.2 of auto-building. I have now created a subversion repository
called minisip_autobuild that is meant to contain build scripts.

Repository URL: svn://svn.minisip.org/minisip_autobuild
Access: All developers - same user/pass as the "minisip" repository
Commit logs: minisip-devel at minisip.org

The repository will soon contain a directory named "builds" that define
what will be executed when new code is commited to minisip.

In this repository we can create new sub-directories for each
architecture/os/distro/whatever we want to support. In that directory we
can create another sub-folder for each configuration. You can give this
any name you want, but it should indicate how minisip is configured in
this test case. That folder should contain a script called "build.sh"
that will be executed. In summary, the directory structure is
"builds/<MACHINE>/<TEST_CASE>/build.sh

Example: 
   builds/debian_unstable/gtk_nodebug_oss/build.sh

In the folder "builds" there is a file called "machines.conf". It
controls what account/machine is used to run the tests.
If machines.conf looks like this:

	debian_unstable    svn at dev.minisip.org
	debian_stable       someotheruser at host.somewhere.com
        wince	anotheruser at wce.somewhere.com

then the previous example will be run on "dev.minisip.org" with the
"svn" account. (ssh keys must be set up before to make it work since ssh
is used, and it can not ask for password).

To automatically upload binary "output files" (debian
package, .exe, .msi, ...) create a directory called "output" and place
them there. They will then be uploaded to
http://www.minisip.org/autobuild/. As it is now they are only uploaded
if all tests are successful.

As in v0.1, the person that did the commit gets an email when the first
problem is detected, and minisip-devel gets an email when all tests have
completed.

Tonight I'll add a "vanilla" build of minisip that does not upload the
result, but help with adding more builds is wanted. Especially help with
binary packages would be good.
Feedback appreciated,
--Erik


-- 
Erik Eliasson <eliasson at it.kth.se>



More information about the Minisip-devel mailing list