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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,069 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot