Service Fabric Cluster deploy provider

Kjetil's Avatar

Kjetil

14 Feb, 2017 08:48 AM

Hi!

We are looking to deploy our microservices from appveyor to a Service Fabric Cluster (not hosted in azure). Do you have any plans or interest in developing this as a deploy provider?

Thanks,
Kjetil.

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Feb, 2017 05:36 PM

    Feodor Fitsner's Avatar

    Hi Kjetil,

    How do you currently deploy your app to Service Fabric Cluster?

  2. 2 Posted by krb on 14 Feb, 2017 07:17 PM

    krb's Avatar

    Hi Feodor,

    I'm working with Kjetil.

    Currently, we are just doing the publish from Visual Studio.

  3. Support Staff 3 Posted by Feodor Fitsner on 14 Feb, 2017 07:19 PM

    Feodor Fitsner's Avatar

    Is there any way to publish it from command line? Is there a command shown in "Output" pane of Visual Studio during deployment?

  4. 4 Posted by Kjetil on 20 Feb, 2017 07:07 AM

    Kjetil's Avatar

    Hi.

    This publish script is running:
    '{solutionPath}\{ProjectName}\Scripts\Deploy-FabricApplication.ps1' -ApplicationPackagePath '{solutionPath}\{ProjectName}\pkg\Release' -PublishProfileFile '{solutionPath}\{ProjectName}\PublishProfiles\{publishProfileName}.xml' -DeployOnly:$false -ApplicationParameter:@{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'SameAppTypeAndVersion' -SkipPackageValidation:$false -ErrorAction Stop

  5. 5 Posted by Kjetil on 20 Feb, 2017 11:49 AM

    Kjetil's Avatar

    I just want to emphasize that the issue here is not that we are unable to deploy to service fabric from AppVeyor; We are doing that now using a few custom made powershell scripts to 1) fix versioning, 2) run msbuild with package creation on a .sfproj file, 3) connect to the servicefabric cluster and then 4) finally publish using the standard "Deploy-FabricApplication.ps1"-script.
    This is however very cumbersome when talking about many microservices being deployed this way.
    Creating a new microservice is time consuming when you have to factor in all the various scripts and set up we have to do, just because AppVeyor does not support Service Fabric Deploy out of the box. This is more of a feature request or maybe rather an inquiry on whether there are any plans on supporting Service Fabric as an out-of-the-box deploy provider.

    Thanks in advance for your response.

  6. Support Staff 6 Posted by Feodor Fitsner on 21 Feb, 2017 06:20 PM

    Feodor Fitsner's Avatar

    I see, thanks. We are going to revise deployment functionality in AppVeyor to allow custom deployment providers and environments based on PS scripts and Docker. For now you may want to simulate the environment with this approach: https://www.appveyor.com/blog/2015/11/04/deployment-projects/

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:15 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac