-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Az Function, Run from Package - deploy via Azure DevOps #19672
Comments
Hi @yzorg Thank you for your feedback! We have assigned this issue to the author to investigate further and take the right course of action. |
Jeff Hollan's medium post turned out to be what I needed, but I was misreading one of his steps and couldn't match my UI to his screenshots. Still might be a good idea to convert that to a doc. (And possibly clarify his "build template" step so others don't repeat my mistake. I didn't know build template vs. build process steps that are visually similar.) |
I am also using AzureDevops for #25727 |
This isn't documented well that I could find either - but to save others time here are some screenshots and direction until it's posted. There are docs on the DevOps App Service Deployment task for reference. Adding Azure App Service Deploy v4
Choosing Deployment MethodAssigning App Settings
|
We now have a deployment article that feature Azure Pipelines Please reopen this work item if the new article doesn't address your scenario. #please-close cc. @ahmedelnably |
It took me a while to figure out how to use Run from package to deploy an Azure Function from Azure DevOps. It took me a while to realize the "Visual Studio Build" template will, by default, create a zip file for my Core 2.0 compiled function. I also had to change the variables in the "Azure App Services Deploy" step to find the zip file created by the build step. This isn't covered anywhere in your documentation.
In your Quickstarts you cover scenarios to deploy via Visual Studio (IDE wizard), VS Code (cloud shell), and Linux function (deployed via GIT, optionally built via Kudu). But no good reference covering the recommended deployment method (packages) via CI/CD using Azure DevOps.
This blog post from an Azure employee Jeff Hollan tries to cover this scenario, but all the VSTS templates are outdated, and screenshots are very outdated. (None of the checkboxes and options he describes are still there.) https://medium.com/microsoftazure/serverless-devops-and-ci-cd-part-2-b6e0a6d05530
I should mention this "Run from package" feature discussion is here: Azure/app-service-announcements-discussions#48, and is where David Ebbo was recommending this deployment method for new Core 2.0 deployments, but there's no follow-up notes covering how to use it with Azure DevOps.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: