从桌面部署到Azure标记(发布注释) [英] Deploy to Azure marks (Release Annotation) from desktop

查看:70
本文介绍了从桌面部署到Azure标记(发布注释)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以从Azure中的Visual Studio查找部署事件吗?我想看看我们何时部署. 以前,我们在Application Insight中拥有该选项,现在他们删除了我不知道在哪里查看的功能.

解决方案

我希望可以在部署在相应资源组下,但无法,并开始进一步挖掘./p>

AFAIK,没有一种直接的方法可以跟踪Azure上的手动部署.但是,我可以想到两种解决方法:

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!

这篇关于从桌面部署到Azure标记(发布注释)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆