Continuous Integration¶
General idea¶
what to do to set up a CI slave¶
- Compile a recent PHP version (PHP 5.3 required!!)
- Make sure at least Java 1.5 is installed
- Create a user: useradd -m forge-hudson
- Set up SSH public key auth
- Switch to this user and create an .ssh directory
- Place the hudson public key in a file called .ssh/authorized_keys
- Fix permissions: chmod -R 700 .ssh
- Try if login without password works as the hudson user at forge
- Check out the Continuous Integration Helpers into a subdirectory called helpers/:
svn co https://svn.typo3.org/Teams/forge.typo3.org/hudson-helpers/ helpers
scp slave.jar forge-hudson@code.typo3.org:~; ssh forge-hudson@code.typo3.org svn update helpers/; ssh forge-hudson@code.typo3.org java -jar slave.jar