Hi @arkiboys ,
Pre-requisite for deploying ADF pipelines , is ADF should be connected to GIT repository or Azure GIT. While building or developing any pipeline , we use our local branch(feature branch). Once the pipeline is ready to get merged, pull request needs to be created in order to merge it to the main branch(collaboration branch). The moment any new changes in a Pull request is merged to the main branch and we hit Publish, ARM template gets re-generated with the new Json file in the branch called 'adf_publish' .
During migration when a release is created , all the latest changes from adf_publish will get deployed to higher environment.
The best practice to avoid the sample pipelines from deploying to higher environment is to let them be in the local branch and not merge it to the main branch in Dev environment until those are tested and ready for deployment.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
@arkiboys ,
Always make sure you raise the PR from the latest created local branch only. If you create a PR from one of your older branches , there are high chances of conflicts. To your question , how to only push selected pipelines from local branch to main branch.
Hi @arkiboys ,
Following up to see if the above suggestion was helpful, kindly do click
Accept Answer
andUp-Vote
for the same. In case you have any further query please do let us know.