Tough scenario to deploy

Hello,

 

I am trying to uses bamboo in order to solve a deployment problem that we are havin.

 

The scenario is this:

 

We have a git repository with the code, a staging environment and a 3 servers load balanced production environment.

 

When we need to deploy, presently these are the steps:

  • SSH login to the staging environment
  • From the staging environment we need to connect via SSH to each of the production servers (these are only accessible from the client's network)
  • In each of the production servers we perform a git pull.

This method is a pain and we were hoping to find an alternative using Bamboo.

Has anyone ever dealt with a scenario of this kind and have any suggestion?

Thank you in advance,

Luis

 

 

1 answer

  1. Create a Bamboo project that creates your releases by eventually pushing them to the git repo
  2. Create an associated deployment project
  3. The tasks of the production environment would:
    1. Create a file (or files) with the proper commands to run on the production servers
    2. Add a SCP task to copy the files to the staging enviornment
    3. Add an SSH task that uses SSH (or SCP/SSH) to execute the command files created in a.

 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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,321 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