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?)
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.