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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

929 views 3 9
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