Re: Distributed CC with QEMU?
Dan Rollo <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Lothar, Interesting idea. FWIW, I use a number of VirtualBox VMs with cc-agents to perform builds, but I leave the VM/Agents running. I think it should be possible to do what you suggest. Have a look at the JMXBuildAgentUtility. This provides a way to programmatically stop a BuildAgent. You'd want to make sure the Agent stays alive long enough after a build to ensure all build results have been returned (so make sure KillOrRestartAfterBuildFinished=true). If the QEMU(or VBox ;) vm automatically starts a build agent when the OS/User luanches, then I think it would all work. You can probably use a CompoundBuilder to invoke the JMXBuildAgentUtility to kill the agent - and not even have to customize Builders at all. If you get stuck, holler! Dan PS: I know cost is always an issue, but the time it takes a VM to load may or may not be faster than leaving the VM running...but that tends to want more RAM... Subject: [Cruisecontrol-user] Distributed CC with QEMU? To: [email protected] Hi, I like to use CC to build my project on multiple platforms, but I haven't enough resources to run each platform at the same time. I thought it could be possible to configure auto shutdown servers running in a QEMU instance and talking to CC master. So when the first server of this kind is started it waits for any change in code and starts a build when a change occurs. Then the server shuts it self down to let a script on the QEMU host rotate to the next QEMU instance to run. So my question is as follows: Could a build agent do such a one shot build? If the agent stops the parent script could halt the machine. Thanks Lothar -- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de Lothar Behrens Heinrich-Scheufelen-Platz 2 73252 Lenningen ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july