Error while upgrading Azure Service Fabric through VSTS CI/CD

佐手、 提交于 2019-12-01 08:08:05

问题


I am using VSTS to setup CI/CD for service fabric build and deployment. First deploy goes through without error but second update deployment gives me below error.

The content in ConfigPackage Name:Config and Version:1.0.0.20180312.1 in Service Manifest 'SampleWebPkg' has changed, but the version number is the same.

I followed the below instruction

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts


回答1:


This happens because you have updated the service binaries and didn't update the manifests, the manifest points to the same version as before but the binaries are different.

An example how this might occur is when you rebuild your service and deploy a new version without changing the version numbers in the manifest files

Check:

  • If the service version in the servicesmanifest.xml has been updated compared to previous one, if not, upgrade it.

  • The service version in applicationmanifest.xml has been updated compared to previous one



来源:https://stackoverflow.com/questions/49237201/error-while-upgrading-azure-service-fabric-through-vsts-ci-cd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!