简体   繁体   English

使用VSO和Azure网站连续部署Classic ASP

[英]Continuous deployment for Classic ASP using VSO and Azure Web Site

We have a set of Classic ASP websites that we are trying to integrate with VSO and Continous Deployment to Azure Web Sites. 我们有一组经典的ASP网站,我们正在尝试将它们与VSO和“持续部署到Azure网站”集成在一起。

Here are some details: 以下是一些详细信息:

  • Our Solution is made up of Classic ASP Web Sites 我们的解决方案由经典ASP网站组成
  • We use TFS in VSO 我们在VSO中使用TFS
  • When changes are checked in, we would like the changed files to be deployed to our Azure Web Site. 签入更改后,我们希望将更改后的文件部署到我们的Azure网站。 Not all the files, as there could be hundreds or thousands of objects. 并非所有文件,因为可能有成百上千个对象。 Just the changed objects. 只是更改的对象。

I've been scouring the web for help on this, but have come up short in two key areas: 我一直在网上寻找有关此方面的帮助,但在以下两个关键方面有所欠缺:

  1. How do I get just the changed files? 我如何只获取更改的文件?
  2. How do I deploy those changed files? 如何部署这些更改的文件?

We use a similar (but much clunkier) process in our on-premises using a combination of SourceGear Vault (with Shadowing) and msdeploy. 我们将SourceGear Vault(带有Shadowing)和msdeploy结合使用,在本地使用类似(但笨拙)的过程。

There is no out of the box way to do this as the accepted modern model is to deploy everything on each deployment. 没有开箱即用的方法来执行此操作,因为公认的现代模型是在每个部署上部署所有内容。 I would also recommend this approach to classic asp, but not for your media/image files that should be versioned and delivered separately anyway. 我也将这种方法推荐给经典的asp,但不建议您将媒体/图像文件分别进行版本控制和交付。

You will need to write your own PowerShell script that identifies the changes... 您将需要编写自己的PowerShell脚本来标识更改...

You may want to lookup the last successful deployment to get the dates to compare to. 您可能要查找上一次成功的部署,以获取要比较的日期。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM