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 votes

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
Community showcase
Posted yesterday in United States

Atlassian Certification

Hello, Today it is about Atlassian Certification. Do you have an interest in taking the exam? If yes share with us so if we have couple people we can start a group study. All the best,   ...

55 views 7 1
View post

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