It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

116 views 0 10
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