Bamboo, RPMs, Deploy Pipelines, oh my.

So I've got Bamboo up and running on my project, and I've got it doing "releases" into Artifactory.

I really want Bamboo to manage the deployment pipeline as well, but there are a couple things I'm not clear on. First, our configuration management team uses RPMs as the unit of deployment. I know I could build an RPM and pass that along as an artifact, but then it doesn't go into Koji.

Here's what I really want (this is a non-java but totally mavenized project), somebody tell me if it's crazy:

  1. Check out, compile, test project. Install snapshot into artifactory (working fine)
  2. If (1) succeeds, perform a release build. Update version, package as tgz, tag source repo, install into Artifactory (working fine)
  3. (Separate plan) Get file from Artifactory, create RPM, install RPM in Koji repo (Understand how to do this with scripts or whatever)
  4. Deploy pipeline deals with the RPM (Not sure how to do this)

Can somebody point me in the right direction with this one? Do we have to give up RPMs to use the deployment part of the tool?

1 answer

I did this by scripting the pull from artifactory using cURL to get the artifact. Then a ssh script to the target from a bamboo script task that runs a yum install of the rpm . 


We later modified it to run a CHEF script for the install and pulled everything out of the pipeline except a release promotion of the rpm to another yum repo in artifactory.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

130 views 3 4
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