Changes between Version 7 and Version 8 of BuildServerSetup


Ignore:
Timestamp:
Dec 20, 2008, 1:38:27 AM (15 years ago)
Author:
Philip Taylor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildServerSetup

    v7 v8  
    1818 * Install [http://search.cpan.org/~jkim/Net-Amazon-EC2-0.09/ Net::Amazon::EC2].
    1919 * Install the initial part of the build script (that does as little as possible, because it's hard to upgrade).
    20  * Add that build script into `HKLM\Software\Microsoft\Windows\CurrentVersion\Run`.
     20 * Make that build script run on startup (before logon), using evil magic.
    2121 * ...anything else?...
    2222 * Bundle the machine into s3://...something.../...something...
     
    3939 * Call [http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/index.html?ApiReference-Query-TerminateInstances.html TerminateInstances] to stop the machine.
    4040
    41 Also need to run something external to call !TerminateInstances after a suitable timeout, in case the machine gets stuck, so it doesn't end up wasting lots of money.
    42 
    4341== Build runner ==
    4442
    4543 * Runs on same server as SVN.
    4644 * Uses SVN auth info to only allow registered developers to trigger builds (because they cost money).
     45 * The server also runs a cron job every 5 minutes, that checks if a build was started more than 50 minutes ago, and calls !TerminateInstances if so. (That should be enough time for a legitimate build to end, and prevents a runaway machine costing lots of money.)
     46 * The web interface also provides an admin-only 'down for maintenance' mode that prevents any builds and pauses that cron job, so I can manually run the build server without interference.
    4747
    4848== EC2 ==