Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Firefox on elastic bamboo

Alex Kane April 29, 2014

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

0 votes
Alex Kane May 1, 2014

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

0 votes
Alex Kane May 1, 2014

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

0 votes
Alex Kane April 30, 2014

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

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2014

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

Alex Kane May 1, 2014

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

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2014

Use the Ubuntu image and install it using

apt-get install firefox

in the instance setup script.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events