Forum Discussion
Deployment Pipeline - Remove old content (delete upstream)
- 2 years ago
Hi Danalber ,
If nothing is there in the dev then how it will compare items of dev with test or prod.If you have deleted report 1 and if you deploying then nothing will flow to next stage and your report will not replaced with nothing.As per my knowledge it's not possible.
Thanks,
Sai Teja
Hi. Yes, if you deploy it will delete in test what you have removed at dev. It shows a -1 in red to inform you there is a removed item. As the docs says:
The file content lines are numbered and the lines that were changed are marked as follows:
- Changes shown in the To be modified stage will be removed or overwritten during the next deployment. They're highlighted in red with a '-' sign next to the number.
You can read more about the way it compares in here: https://learn.microsoft.com/en-us/fabric/cicd/deployment-pipelines/compare-pipeline-content?tabs=browser
I hope that helps
- Danalber2 years agoAdvocate II
Hi ibarrau ,
Thank you for your reply.
I just tried to deploy, but the deleted flow is not removed in Test. I tried to deploy everything (all changes) or just another flow I wanted to updated but with neither one the change of the deleted flow is pushed upstream. And I cannot selected the delete flow in DEV, as it is deleted.
What am I missing?
Thanks again.
Have a nice day
PS: Just double checked the docu, according to that. Deleted items will not be changed, thus deleting upstream doesn't work?! 😕
- SaiTejaTalasila2 years agoSuper User
- Danalber2 years agoAdvocate II
Hi SaiTejaTalasila ,
Thank you for your reply, I have access and can delete the model or the flow directly but I was hoping that this would also be managed through the pipeline, so we also have a record of the whole deleting process. But seems this is not the case currently.
Have a great day
BR Daniel