Tough scenario to deploy

luis.dias February 2, 2017

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

0 votes
Rich Duncan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 2, 2017
  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
TAGS
AUG Leaders

Atlassian Community Events