Service Fabric SDK

Peter Tiedemann's Avatar

Peter Tiedemann

02 May, 2018 08:16 PM

Hi,

We are developing software that makes use of Service Fabric ( see https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started ). In order to run tests against a SF it is very convenient to run a local cluster on the test agent. Setting up a local cluster requires having the Service Fabric SDK installed. It is possible to install it on an appveyor agent, but it takes something like 7 minutes to do so.

Would it be possible to include it in the agent image ( i see you already have the normal Azure SDK for example) ?

  1. Support Staff 1 Posted by Feodor Fitsner on 02 May, 2018 11:53 PM

    Feodor Fitsner's Avatar

    Hi Peter,

    Service Fabric SDK 3.0 (Runtime 6.1) is already installed on build workers: https://www.appveyor.com/docs/build-environment
    Related issue: https://github.com/appveyor/ci/issues/2058

  2. 2 Posted by Peter Tiedemann on 03 May, 2018 06:37 AM

    Peter Tiedemann's Avatar

    Hi Feodor,

    So i tested it now, and i think the upgrade from 2.7 to 3.0 was not clean
    (see https://github.com/Azure/service-fabric-issues/issues/566 )

    If i run:
    ."$ENV:ProgramFiles\Microsoft SDKs\Service
    Fabric\ClusterSetup\DevClusterSetup.ps1"

    It will fail. But if i run
    ."$ENV:ProgramFiles\Microsoft SDKs\Service
    Fabric\ClusterSetup\CleanCluster.ps1"

    first, then it works fine, however that takes additional time.

    I also tried connecting to the cluster immediately without setting anything
    up, but that also doesn't work. Perhaps there is some leftover data from an
    older versions local cluster?

  3. Support Staff 3 Posted by Feodor Fitsner on 03 May, 2018 04:55 PM

    Feodor Fitsner's Avatar

    Hi Peter,

    What build worker image is that: VS 2015 or VS 2017?

  4. 4 Posted by Peter Tiedemann on 03 May, 2018 05:21 PM

    Peter Tiedemann's Avatar

    VS2017

  5. Support Staff 5 Posted by Feodor Fitsner on 03 May, 2018 05:32 PM

    Feodor Fitsner's Avatar

    OK, I see. Running CleanCluster.ps1 was necessary before DevClusterSetup.ps1.

    We'll do that cleanup in the image: https://github.com/appveyor/ci/issues/2301

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:28 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

 

06 Jun, 2024 02:12 PM
06 Jun, 2024 03:49 AM
04 Jun, 2024 03:53 AM
30 May, 2024 04:03 PM
27 May, 2024 02:06 AM
20 May, 2024 09:52 PM