...
- Log onto the currently running elastic instance (or spawn one if none are running). http://confluence.atlassian.com/display/BAMBOO/Accessing+an+Elastic+Instance
- Note that the ssh key is on
belltown:/work/platform/PasswordsAndCredentials/AtlassianAccountAWSCredentials/elasticbamboo.pk
- Note that if you want to log onto the AWS console, Mike's username and password is on
belltown:/work/platform/PasswordsAndCredentials/AtlassianAccountAWSCredentials/Mike'sPassword
- Note that the ssh key is on
- From the shell try out the commands you want to run at boot time
- Run you build and make sure it works
- Check your changes to customize-extras.sh into source control PLFM/trunk/tools/bamboo/bin/customise-extras.sh
- On the bamboo host, overwrite
/mnt/bamboo-ebs/bin/customise-extras.sh
with your updated script. - Follow these instructions to create snapshot and configure bamboo to use it:
- Do this stuff Updating your EBS snapshot plus also
- Clean off any build artifacts
/mnt/bamboo-ebs/bin/mysql -u root -p drop database test2; create database test2
rm -rf /mnt/bamboo-ebs/build-dir/PLFM-???
- Stop MySQL
/mnt/bamboo-ebs/bin/mysqladmin -u root -p stop
- Shutdown the host, and kick off a new build. This should start a new bamboo host that will run your updated script.
- Make sure the build passes!
...