|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Re: Distributed CC with QEMU?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: cruisecontrol-user@... 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 _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Distributed CC with QEMU?Am 12.08.2009 um 20:48 schrieb Dan Rollo: > 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 do not have endless memory and keeping scheduled build running at distinct time is a bit more work than simply running some qemu instances serialized in a script. Another solution would be freezing unused qemu instances and keep only one continuing. Using a ring list of qemu PID's to shedule probably keeps the qemu guest install simpler :-) > 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). > I haven't setup that scenario yet. I need to read some about the JMXBuildAgentUtility :-) > If the QEMU(or VBox ;) vm automatically starts a build agent when the > OS/User luanches, then I think it would all work. > Using init scripts would help. On a Windows host there are similar solutions to start... > You can probably use a CompoundBuilder to invoke the > JMXBuildAgentUtility to kill the agent - and not even have to > customize > Builders at all. > Maybe working on a sample setup and publish? > 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... Ringlist structure, but then swap may grow. I only have 3GB and use other VM's for CVS and Mailserver :-) I have setup this VM's to keep resetup a bit easier, if I need to move between hosts. Lothar -- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de Lothar Behrens Heinrich-Scheufelen-Platz 2 73252 Lenningen ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
| Free embeddable forum powered by Nabble | Forum Help |