有持续部署框架吗?

发布于 2024-11-02 16:57:02 字数 1539 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

妥活 2024-11-09 16:57:02

使用 TeamCity,设置和运行真的非常非常容易。
检查演示和文档。
http://www.jetbrains.com/teamcity/

或者您可以参考:
NUnitForms 具有“隐藏桌面”功能,可让您从 cc.net 运行单元测试。

http://automaticchainsaw.blogspot.com/2007/09/winforms -testing-using-nunitforms.html http:// /automaticchainsaw.blogspot.com/2007/09/hidden-desktops-and-nunitforms.html

如果您想使用单个 csproj 并控制元素,例如基于特定构建配置的程序集名称。然后,您在 MSBuild 属性上查找条件元素:

<AssemblyName Condition="'$(Configuration)' == 'Release-Prod'">Foo</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'Release-Test'">Foo-Test</AssemblyName/>

Use TeamCity, and it is really, really easy to setup and get it running.
Check the Demos and Documentation.
http://www.jetbrains.com/teamcity/

Or u can refer to:
NUnitForms has a "hidden desktop" feature that will let you run unit tests from cc.net.

http://automaticchainsaw.blogspot.com/2007/09/winforms-testing-using-nunitforms.html http://automaticchainsaw.blogspot.com/2007/09/hidden-desktops-and-nunitforms.html

If you want to use a single csproj and control elements like the assembly name based on a specific build configuration. Then you're looking for the Conditional element on MSBuild properties:

<AssemblyName Condition="'$(Configuration)' == 'Release-Prod'">Foo</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'Release-Test'">Foo-Test</AssemblyName/>
若水微香 2024-11-09 16:57:02

看看 OpsCode Chef 或 Puppet - 您追求的是基础设施自动化。这两个工具现在都支持 Windows 自动化,并且它们都允许您自动构建环境。

您还可以查看 DbDeploy,这是一种用于控制和跟踪数据库更改的工具。

Take a look at OpsCode Chef or Puppet - what you're after is infrastructure automation. Both these tools support Windows automation now, and they both allow you to automate the building of environments.

You could also look at DbDeploy, a tool for controlling and tracking changes to databases.

楠木可依 2024-11-09 16:57:02

我们正在使用 TFS 中内置的发布管理。
http://www.visualstudio.com/en-us/explore /release-management-vs.aspx

它运行我们的门控签入,以便在我们的集成实验室中运行所有单元测试,然后运行所有编码的 UI 测试,然后部署到我们的服务器(Web、数据库和服务层)。它还负责确保服务器具有正确的配置。
有了这个工具,我们就可以在每次签入后部署到生产环境。

We are using Release Management built into TFS.
http://www.visualstudio.com/en-us/explore/release-management-vs.aspx

It runs off of our gated check-ins so that all unit tests are run followed by all coded UI tests in our integration lab, then deploys to our servers (web, database, and service layers). It also handles making sure the servers have the proper configurations.
With this tool we are able to deploy to production after every check-in.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文