INFO

This API documentation is for FAKE version 5.0 or later. The old API documentation can be found here for migration or here for fake 4

This is part of the Fake.Azure.Kudu module.

Kudu

Contains tasks to stage and deploy Azure website and webjobs using source code deployment with Kudu Sync.

Nested types and modules

TypeDescription
WebJobType

The different types of web jobs.

ZipDeployParams

Kudu ZipDeploy parameters

Functions and values

Function or valueDescription
Kudu.deploymentTarget
Signature: string

Location where synced outputs should be deployed to.

Kudu.deploymentTemp
Signature: string

Location where staged outputs should go before synced up to the site.

Kudu.getWebJobPath webJobType webJobName
Signature: webJobType:WebJobType -> webJobName:string -> string

Gets the path for deploying a web job to.

Kudu.kuduPath
Signature: DirectoryInfo

The path to the KuduSync application.

Kudu.kuduSync()
Signature: unit -> unit

Synchronises all staged files from the temporary deployment to the actual deployment, removing any obsolete files, updating changed files and adding new files.

Kudu.nextManifestPath
Signature: string

Used by KuduSync for tracking and diffing deployments.

Kudu.previousManifestPath
Signature: string

Used by KuduSync for tracking and diffing deployments.

Kudu.stageFolder source shouldInclude
Signature: source:string -> shouldInclude:(string -> bool) -> unit

Stages a folder and all subdirectories into the temp deployment area, ready for deployment into the website.

Kudu.stageWebJob(...)
Signature: webJobType:WebJobType -> webJobName:string -> files:seq<string> -> unit

Stages a set of files into a WebJob folder in the temp deployment area, ready for deployment into the website as a webjob.

Kudu.zipDeploy(arg1)
Signature: ZipDeployParams -> unit

Synchronizes contents of the zip package with the target web app using Kudu ZipDeploy. See https://blogs.msdn.microsoft.com/appserviceteam/2017/10/16/zip-push-deployment-for-web-apps-functions-and-webjobs/