Changes between Version 1 and Version 2 of BuildServerSetup


Ignore:
Timestamp:
Dec 14, 2008, 4:19:29 PM (15 years ago)
Author:
Philip Taylor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildServerSetup

    v1 v2  
    1010
    1111== Virtual machine image installation ==
    12  * Start with basic Win2003 image (ami-e3698d8a, Server2003r2-i386-Win-v1.02.manifest.xml), on a Small Instance.
     12 * Start with basic Win2003 image (ami-e3698d8a, Server2003r2-i386-Win-v1.02.manifest.xml), on a Small Instance in the US region.
    1313 * Attach a 2GB [http://aws.amazon.com/ebs/ EBS] disk.
    1414 * Install [http://www.microsoft.com/express/download/ VC++ 2008 Express SP1].
     
    2121== Build script ==
    2222
    23 Needs to do something like:
     23Does something like:
     24 * `svn up`
    2425 * `premake --target vs2008 --outpath e:\build`
     26 * (TODO: build Collada, Atlas too?)
    2527 * `vcbuild /time /showenv /useenv /M4 /r /logfile:buildlog.txt pyrogenesis.sln "Release|Win32"`
    26  * ...
     28 * (TODO: have to think about tests - should they be compiled? should they be run? what should happen if they fail?)
     29 * Upload build logs to a public S3 bucket (because that's an easy web-accessible hosting service).
     30 * `svn commit -m 'Automated build.'`
     31 * Safely unmount the EBS disk.
     32 * Call [http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/index.html?ApiReference-Query-TerminateInstances.html TerminateInstances] to stop the machine.
     33
     34Also 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.
     35
     36== Build runner ==
     37
     38 * Runs on same server as SVN.
     39 * Uses SVN auth info to only allow registered developers to trigger builds (because they cost money).
    2740
    2841== EC2 ==