Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,187
Community Members
 
Community Events
165
Community Groups

Deployments multiple destinations at the same time

Now with the new deployments structure, where i followed this guide:

https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-monitor-deployments/

 

Is it possible to have it deploy to multiple production environments at the same time?

(Basically that it starts 2 machines and starts running both at the same time, instead of waiting on eachother?)

1 answer

1 accepted

Ok found my own answer!

https://support.atlassian.com/bitbucket-cloud/docs/set-up-or-run-parallel-steps/ 

 

So basically their example becomes like this (changed staging1 to production-west, so that it's more clear that you'd want this with multiple production destinations)

pipelines:
default:
- step:
name: Deploy to test
image: aneitayang/aws-cli:1.0
deployment: testbed
script:
- python deploy.py test
- parallel
- step:
name: Deploy to production west
image: aneitayang/aws-cli:1.0
deployment: production-west
trigger: manual
script:
- python deploy.py prod
- step:
name: Deploy to production east
image: aneitayang/aws-cli:1.0
deployment: production-east
trigger: manual
script:
- python deploy.py prod

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,256 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you