Skip to end of banner
Go to start of banner

Elastic Bamboo

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

On This page

On Related Pages

Elastic Bamboo

We currently have MySQL, R, and Python2.7 running on our Elastic Bamboo host for the purposes of integration testing. This is accomplished by the customise-extras.sh shell script which is run at boot time for the hosts.

How to upgrade MySQL, R, or Python

TODO Brian add more here

How to modify the EBS snapshot used

If you want to import a database dump, install Crowd, etc., here is how to modify that script:

  1. 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
  2. From the shell try out the commands you want to run at boot time
  3. Run you build and make sure it works
  4. Check your changes to customize-extras.sh into source control PLFM/trunk/tools/bamboo/bin/customise-extras.sh
  5. On the bamboo host, overwrite /mnt/bamboo-ebs/bin/customise-extras.sh with your updated script.
  6. Follow these instructions to create snapshot and configure bamboo to use it:
    1. Do this stuff Updating your EBS snapshot plus also
    2. 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???
    3. Stop MySQL /mnt/bamboo-ebs/bin/mysqladmin -u root -p stop
  7. Shutdown the host, and kick off a new build. This should start a new bamboo host that will run your updated script.
  8. Make sure the build passes!

For more information, see:

  • No labels