How to do PHP PEAR CI with Bamboo OnDemand?

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 vote

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.

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
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
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

44 views 3 1
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