Firefox on elastic bamboo

I'm trying to install Firefox on my elasticbamboo instance (ami-430a452a) so that I can run selenium tests. None of the methods described in the knowledge base or elsewhere on the 'net are working. Is there a method known to work for this AMI?

4 answers

This widget could not be displayed.

Use the Ubuntu image and install it using

apt-get install firefox

in the instance setup script.

This widget could not be displayed.

That works when I login as root via ssh, however I can't get root as the bamboo user when my tests are running.

Use the instance setup scipt - check Image Configuration screen in Bamboo. This script runs as root.

I've added the following to the instance setup script, but it looks like the script is hanging while installing fabric. Is it possible to see the stdout/stderr of the script?

apt-get update

apt-get install -y libpq-dev

apt-get install -y firefox

apt-get install -y xvfb

apt-get install -y python-dev

apt-get install -y unixodbc-dev unixodbc-bin unixodbc

apt-get install -y libxml2-dev

apt-get install -y libxslt1-dev

apt-get install -y fabric

apt-get install -y python-pip

pip install cuisine

pip install django-cachebuster

pip install django-celery

This widget could not be displayed.

I've added the following to the setup script and it looks like it's hanging when trying to install fabric. Is there a way to see the stdout/stderr from the setup script?

apt-get update

apt-get install -y libpq-dev

apt-get install -y firefox

apt-get install -y xvfb

apt-get install -y python-dev

apt-get install -y unixodbc-dev unixodbc-bin unixodbc

apt-get install -y libxml2-dev

apt-get install -y libxslt1-dev

apt-get install -y fabric

apt-get install -y python-pip

pip install cuisine

pip install django-cachebuster

pip install django-celery

This widget could not be displayed.

Was able to get the startup script working by doing this:

#!/bin/sh

export PATH=/sbin:/bin:/usr/sbin:/usr/bin

install()

{

apt-get update

apt-get install -y libpq-dev

apt-get install -y firefox

apt-get install -y xvfb

apt-get install -y python-dev

apt-get install -y unixodbc-dev unixodbc-bin unixodbc

apt-get install -y libxml2-dev

apt-get install -y libxslt1-dev

#apt-get install -y fabric -o=DPkg::NoTriggers=true

apt-get install -y python-pip

pip install fabric

pip install cuisine

pip install django-cachebuster

pip install django-celery

}

install >/tmp/startup.log 2>&1

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

169 views 1 3
Join discussion

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