Setup script vs custom image

I want to set up a CI environment for a python project. The bamboo Amazon image does have python (although you have to configure it as a command) but it doesn't have all the extra python modules that a need installed. If I add these modules using a setup script, does that mean that every time an image is restarted (which as I understand it will happen if no build has been executed in the last ten mins or so), this script will need to be rerun? It's going to take a bit of time to download and install all the modules, so if that is the case, I'd rather set up a custom image.

1 answer

1 accepted

1 vote

Yes, they will be redownloaded on each restart. Instead of creating a custom image, consider providing an EBS with the data you need.

Thanks for the tip. I did that on the weekend and am almost there. In general, that approach works well and sounds preferable to creating a custom image given it means we can continue to work with an Atlassian supported image. I created a virtual python environment on an EBS and it's easy enough to add packages to it and update the EBS when we need to. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,816 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you