Release Automation with Bitbucket and Bamboo

We have successfully migrated to bitbucket.  Now my question is we have bitbucket hosting our Repos, how do I automate a release.

We have a separate file server in production where our main repo is checked out from bitbucket and 10 web servers are pointing to this file server.  My promote consists of me doing a regular "git pull" on this production repo and then clearing cache on 10 webservers to promote a change. Is this correct or is there some way of removing this middle man of the file server and pointing the web servers directly to bitbucket master branch.  

I am evaluating bamboo for release management but I believe our setup is incorrect to enable this to happen.

Thanks in advance and I love all of Atlassians products! We currently use HipChat, Jira, Confluence and BitBucket.

 

1 answer

0 votes

Hi Garrett! You could directly connect Bamboo to Bitbucket repositories and achieve release management; Bamboo has the triggers which will invoke the build in Bamboo whenever there's any change committed to the bitbucket repository. The flow could be like this:

  1. Changes are made to BB repo.
  2. Bitbucket sends an event to Bamboo.
  3. Bamboo triggers the build.
  4. Upon successful build, relevant deployment will be triggered to perform the release.
For more info about this, you can check our online documentation Repository triggers the build when changes are committed and Triggering builds in Bamboo.
Hope that helps!
Ana

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

660 views 0 4
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