Changes between Version 1 and Version 2 of BuildServerSetup
- Timestamp:
- Dec 14, 2008, 4:19:29 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildServerSetup
v1 v2 10 10 11 11 == 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. 13 13 * Attach a 2GB [http://aws.amazon.com/ebs/ EBS] disk. 14 14 * Install [http://www.microsoft.com/express/download/ VC++ 2008 Express SP1]. … … 21 21 == Build script == 22 22 23 Needs to do something like: 23 Does something like: 24 * `svn up` 24 25 * `premake --target vs2008 --outpath e:\build` 26 * (TODO: build Collada, Atlas too?) 25 27 * `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 34 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. 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). 27 40 28 41 == EC2 ==