Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Deployments multiple destinations at the same time

Samantha Adrichem September 22, 2021

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

0 votes
Answer accepted
Samantha Adrichem September 22, 2021

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
AUG Leaders

Atlassian Community Events