Deploy to Azure marks (Release Annotation) from desktop

喜欢而已 提交于 2020-02-06 08:20:10

问题


Is there any way to look for deployment event from Visual Studio in Azure? I would like to see when we deployed. Previously, we had that option in Application Insight, now that they removed that feature I don't know where to look.


回答1:


I would've expected to find that information, i.e., deployment/publish history in Azure Activity Logs or Deployments under the corresponding Resource group, but couldn't, and began digging further.

AFAIK, there isn't a straightforward way of tracking manual deployments on Azure. However, I can think of two workarounds:

  • Using VS Code: When a deployment is manually performed using VS Code using the Azure App Service extension, it becomes easier to track the deployment history and also see the current/active version, along with various other configuration options and logs. For example:

  • Using the KUDU console: Browse to the deployments page within the Kudu console for your app service (would be of the form: https://{app-name}.scm.azurewebsites.net/api/deployments), and you should see the history in JSON format. For example:

Note: I'd strongly advise using the same mode of deployment always, for maintaining consistency, and also building a CI/CD Pipeline for streamlining your deployments if this is not a test environment or a PoC.

Hope this helps!



来源:https://stackoverflow.com/questions/59090877/deploy-to-azure-marks-release-annotation-from-desktop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!