Closed SaebAmini closed 5 years ago
This is doing my head in. I haven't been able to do anything to get it to work short of writing a custom script to list the contents of data/SitePackages
after the deployment task completes, manually create a packagename.txt
pointing to the latest package and upload it.
Here's a complete log file of the release pipeline, with debug turned on: Attempt2.zip
Since the task actually succeeds and gets a 200 from the zip deploy API, I believe this isn't actually a bug with the task, but rather a bug with the Kudo API. So feel free to move this issue to the correct place.
Also, I have a hunch that the function app running inside an ASE could be part of the problem.
@SaebAmini , Can you please open the issue here?
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureFunctionAppV1 and AzureRmWebAppDeploymentV4
Environment
Issue Description
ZipDeploy deployment for an Azure function, to run it from a package, doesn't work. The task says it completes successfully. The package is uploaded successfully to
data/SitePackages
, however the advertisedpackagename.txt
file isn't created. When looking at the "Deployment Center" on the portal, it says the deployment failed with a "Failed to deploy to production" message and no additional details:After creating a
packagename.txt
file manually and pointing to the latest uploaded package, the function is recognized and starts correctly.Task logs