How do I deploy service fabric application from VSTS release pipeline?

后端 未结 4 1512
没有蜡笔的小新
没有蜡笔的小新 2020-12-09 22:25

I have configured a CI build for a Service Fabric application, in Visual Studio Team Services, according to this documentation: https://azure.microsoft.com/en-us/documentati

4条回答
  •  忘掉有多难
    2020-12-09 23:03

    I hit the same bug today and opened a GitHub issue here

    On a side note, VS generated script Deploy-FabricApplication.ps1 uses module

    "$((Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Service Fabric SDK" -Name "FabricSDKPSModulePath").FabricSDKPSModulePath)\ServiceFabricSDK.psm1"

    That's where Publish-NewServiceFabricApplication comes from. You can check the deployment logic and rewrite it in more sane way using lower-level ServiceFabric SDK cmdlets (potentially getting connection using Get-ServiceFabricClusterConnection instead of global-ling it)

提交回复
热议问题