Add new UseBlobContainerDeploy (bool) property to the ZipDeploy target/task to identify when to use the OneDeploy URL
"<publishUrl>/api/publish" endpoint to publish a Flex Consumption function app
When polling for the ZipDeploy pubish status, append the status_text message (if defined) along with the status itself. E.g.: "Deployment status is Failed: App setting WEBSITE_RUN_FROM_PACKAGE is not supported...".
Add UTs for ZipDeployTask and ZipDeploymentStatus
Pull request checklist
[ ] My changes do not require documentation changes
[ ] Otherwise: Documentation issue linked to PR
[ ] My changes should not be added to the release notes for the next release
[x] Otherwise: I've added my notes to release_notes.md
[ ] My changes do not need to be backported to a previous version
[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr
[x] I have added all required tests (Unit tests, E2E tests)
Issue describing the changes in this PR
resolves (TBD)
In this PR:
UseBlobContainerDeploy
(bool
) property to theZipDeploy
target/task to identify when to use the OneDeploy URL "<publishUrl>/api/publish
" endpoint to publish a Flex Consumption function appstatus_text
message (if defined) along with the status itself. E.g.:"Deployment status is Failed: App setting WEBSITE_RUN_FROM_PACKAGE is not supported..."
.ZipDeployTask
andZipDeploymentStatus
Pull request checklist
release_notes.md
Additional information
This is a copy of https://github.com/Azure/azure-functions-dotnet-worker/pull/2688, created to be able to pass required checks failing due to lack of permission(s).