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,294,703
Community Members
 
Community Events
165
Community Groups

to have specific set of files to be moved from one branch to another

i need to deploy a single component to qa and then to production from my dev org

ideally we first merge the changes to qa branch after extraction from dev to bitbucket and then merge the qa to prod to deploy to prod instead can we have a pipeline create such that only selected components should be moved from dev branch to qa and then from qa to prod.

1 answer

0 votes

Hi Sayan,

I would like to understand your scenario a little better. What do you mean by 

" we first merge the changes to qa branch after extraction from dev to bitbucket "

Do you want to achieve selective deployment of components or selective merging of components to qa and prod branches?

HI Ulrich,

 

Yes, i want to have a selective merge of components either by raising a pull request or any other possible way.

Have you considered separate repos and deploy pipeline for each component (microservice?)? To me that seems to give you best flexibility.

we have 8 prod environments listed under the same project targeting different codebases in bitbucket ,if i have multiple repositories just for one environment won't it make things more complex?

in the current infrastructure i have a single repository  mapped to a prod environment and each repository has a prod ,qa and dev branch

developer branch is to pull changes for dev org into bitbucket, merge it to qa and then deploy the changes to qa environment using qa branch 

we deploy using orchestration platform that allows me to do selective component deployment

now when i want to merge the same code from qa to prod branch i could see additional components listed in my pr because some other dev team is already moved their changes to qa branch but not yet planned to move to production.

how could i get rid of those additional components from my pr and just merge my set of components to release

Suggest an answer

Log in or Sign up to answer
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,159 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