Atlassian SDK on Bamboo Agent AMI

Thomas Behlau May 23, 2016

This question is in reference to Atlassian Documentation: stock images

You have 6 maven and 6 grails version on the AMI, but not your own Atlassian SDK to build plugins? Will that be added in a future AMI version?

 

Thomas

2 answers

1 vote
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2016

Thomas, I laughed out loud when I read this. You're right, that's a serious omission that has somehow gone unnoticed for years. We'll rectify it in a future stock images release.

Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2016

Thanks, that would be a great improvement to ease getting started with add-on development via Bamboo indeed. There has been a resp. improvement request already btw., but it got resolved in favor of another approach, see my answer for more on this - maybe you could simply reopen https://jira.atlassian.com/browse/BAM-6748 so that we can follow a long?

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2016

This has been a fairly old improvement request already, but it got resolved in favor of another approach via a dedicated task due to the disconnected update cycles between the SDK and the stock agent images:

Given AMIs can nowadays be built and maintained much faster and simpler via automation (e.g. with HashiCorp's Packer), I'd hope that the Bamboo team can indeed just include it by default going forward, as thankfully acknowledged by @Przemyslaw Bruski in his answer already (+1).

Workaround

Until the SDK will be included on the stock images by default, you might want to check into the conceptual workaround I provided on the related issue, though given the default images are meanwhile based on Ubuntu, you would need to adjust it to apt-get of course.

 

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2016

For now, something like this put into your instance setup script (see Image Configuration page in Bamboo) should do the trick:

echo deb https://sdkrepo.atlassian.com/debian/ stable contrib >>/etc/apt/sources.list.d/atlassian-sdk-stable.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B07804338C015B73
apt-get -y -q --no-install-recommends install atlassian-plugin-sdk

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events