Service Fabric SDK
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) ?
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
Support Staff 1 Posted by Feodor Fitsner on 02 May, 2018 11:53 PM
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 Posted by Peter Tiedemann on 03 May, 2018 06:37 AM
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?
Support Staff 3 Posted by Feodor Fitsner on 03 May, 2018 04:55 PM
Hi Peter,
What build worker image is that: VS 2015 or VS 2017?
4 Posted by Peter Tiedemann on 03 May, 2018 05:21 PM
VS2017
Support Staff 5 Posted by Feodor Fitsner on 03 May, 2018 05:32 PM
OK, I see. Running
CleanCluster.ps1
was necessary beforeDevClusterSetup.ps1
.We'll do that cleanup in the image: https://github.com/appveyor/ci/issues/2301
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:28 AM.