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
Posted 5 hours ago in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

11 views 0 1
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