I read about continuous deployment of service fabric with VSTS. I need a help/suggestion in this scenario where
Example: -
Can this be achieved fully automated in VSTS?
I referred this link: https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade#rolling-upgrades-overview
You can use the built-in service health monitoring.
By implementing custom health monitors (that run your integration tests), you can report 'unhealthy' when they fail during upgrade. You can use this information to have SF automatically roll back the upgrade. (By configuring health thresholds.)
You can also control upgrades manually, for example by using PowerShell Start-ServiceFabricApplicationUpgrade
.
Scott Hanselman gave a good presentation about this in action here. Another example here.