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

How to do PHP PEAR CI with Bamboo OnDemand?

Mikko Mikko March 25, 2012

Can we do the following with Elastic Bamboo in order to get PHP PEAR based CI tools working?

As a root install:
php
sqlite
sqlite php dependencies
php-pear

As a root install php-unit and phing using pear, type:
pear config-set auto_discover 1
pear install pear.phpunit.de/PHPUnit
pear channel-discover pear.phing.info
pear install phing/phing


In addition to these can we edit the php.ini on that Elastic Bamboo instance to get things working.

1 answer

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

Yes, you've got root rights on your EC2 instance. Log into it and make sure all these commands work (create a script that runs them).

Then, put the script on your EBS volume:

http://confluence.atlassian.com/display/BAMBOO40/Configuring+elastic+instances+to+use+the+EBS

I think PHPUnit is already available on your image, but I don't think phing is.

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2012

With the new OnDemand, you can use instance setup scripts (you don't need to use the EBS anymore).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events