The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy to multiple environment in a single step

Luis Magdariaga Orúe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2019

Hello, i am using bitbucket pipelines to build and deploy an application to AWS in 3 different production enviroment, but the problem is that we want to use the environment vars in a single step, so if tomorrow we add an extra production environment, we don't have to touch the pipeline, only add a production enviroment more. There is a way to include an kind of all production environment in the ´deployment´ command for bitbucket pipelines?

 

Thanks 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2019

Hi Luis,

Currently, you can only have a single deployment environment associated with a single step. So you would need create a new step with a deployment tag to the new environment.

Perhaps using YAML anchors may help you to remove some duplication across your deployment steps?

Thanks,

Phil

TAGS
AUG Leaders

Atlassian Community Events