且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在实时服务器上托管Asp.net应用程序.

更新时间:2022-11-05 17:33:33

我们确实将部署滚动部署到实时服务器,因此我们不使用安装程序项目.我们更像CI:

实时"构建服务器从批准的源进行构建
robocopy发布到登台服务器(实时",但不在F5群集中)
最终验证是在登台服务器上完成的,通常使用主机"黑客来尽可能地模仿整个事情.
robocopy/L自动用于在下一个推送"中分发更改列表,以警告所有错误
作为计划过程的一部分,集群被循环,通过robocopy部署到集群中的节点(当节点不在集群中时)

robocopy自动确保仅部署更改.
We do rolling deployment to the live servers, so we don''t use installer projects; we have something more like CI:

"live" build-server builds from the approved source
robocopy publishes to a staging server ("live", but not in the F5 cluster)
final validation done on the staging server, often with "hosts" hacks to emulate the entire thing as closely as possible
robocopy /L is used automatically to distribute a list of the changes in the next "push", to alert of any goofs
as part of a scheduled process, the cluster is cycled, deploying to the nodes in the cluster via robocopy (while they are out of the cluster)

robocopy automatically ensures that only changes are deployed.