简体   繁体   English

TFS2017版本管理模板配置技巧

[英]TFS2017 Release Management Template Configuration tips

Good Afternoon, 下午好,

I'm a little new to the Release Management Department and I've been tasked with converting our Release Management 2013 templates over to 2017. I've ran into a road block recently that I've been unable to figure out how to proceed, and wanted to consult the experts for tips or suggestions. 我是发布管理部门的新手,我的任务是将我们的Release Management 2013模板转换为2017年。最近遇到了一个障碍,因为我无法弄清楚如何进行操作,并希望咨询专家以获取提示或建议。

The most major issue is that Release Management 2017 doesn't offer the ability to setup Environment Tags, meaning I can't setup a "Production" environment and tag all of our production IIS servers in it in order to run a single command against all the servers. 最主要的问题是Release Management 2017不提供设置环境标签的功能,这意味着我无法设置“生产”环境并在其中标记我们所有的生产IIS服务器,以便针对所有服务器运行单个命令。服务器。 This hinders me greatly. 这极大地阻碍了我。

I've done research on this issue and have come to two possible work arounds. 我已经对此问题进行了研究,得出了两种可能的解决方法。 Either 1) Creating a release template for each IIS Site or 2) Creating a Release Template for each Environment (Test/Stage/Prod). 1)为每个IIS站点创建一个发布模板,或者2)为每个环境(测试/阶段/产品)创建一个发布模板。 The problem here is that we managed over 100 different IIS Sites and Databases, so creating an individual template for each site would be...astronomical. 这里的问题是,我们管理了100多个不同的IIS站点和数据库,因此为每个站点创建单独的模板将是天文数字。 Whereas creating one bulk template for each environment could lead to issues down the line if we needed to release a specific site. 如果我们需要发布特定的站点,则为每个环境创建一个批量模板可能会导致一系列问题。

I figure that we are not the only company that work with this many IIS Sites, and that someone has to have figured out a better solution that the two above. 我认为,我们并不是唯一一家拥有如此众多IIS站点的公司,而且必须有人想出了比上述两个更好的解决方案。 Do we need to look elsewhere other than TFS2017 (With built in RM Features)? 除了TFS2017(具有内置的RM功能),我们是否需要查找其他地方?

I appreciate any and all advice on the issue. 感谢您提供有关此问题的所有建议。

The tasks you'd be using to target your servers (such as "PowerShell on Target Machines") take a list of servers to execute against. 用于定位服务器的任务(例如“目标计算机上的PowerShell”)将列出要执行的服务器的列表。 You can store the server names in a variable on the release definition at the environment level. 您可以将服务器名称存储在环境级别的版本定义上的变量中。

In TFS 2017 Update 1, you'll be able to store related variables in variable groups and share them across release definitions. 在TFS 2017 Update 1中,您将能够将相关变量存储在变量组中并在版本定义中共享它们。

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

相关问题 TFS 2018 IIS发行管理 - TFS 2018 Release Management to IIS TFS 2017版本定义。 WinRM - IIS Web App管理任务。 在“默认网站”下创建应用程序 - TFS 2017 Release definition. WinRM - IIS Web App Management task. Create application under “Default web site” 如何使用 tfs 发布管理客户端在 IIS 中设置网站/Web 应用程序的主机名? - How can I set the host name for a web site/web application in IIS using tfs release management client? 如何将网站配置为使用TFS版本管理自动启动? - How can I configure a website to start automatically using TFS release management? 升级到TFS 2017 HTTP错误401.1-未经授权 - Upgrade to TFS 2017 HTTP Error 401.1 - Unauthorized 远程主机上的 ARR 管理和配置 - ARR management and configuration on remote hosts 用于Microsoft Release Management中的自定义操作的IISConfig.exe参数 - IISConfig.exe arguments for custom action in Microsoft Release Management 处理具有多个版本的软件的发布管理的最佳方法是什么? - What is the best way to handle release management for software with multiple versions? 将使用Visual Studio 2017模板制作的Angular 7应用程序部署到IIS - Deploy Angular 7 app made with visual studio 2017 template to IIS 从章鱼迁移到TFS 2017-发布ASP.NET网站 - migration from Octopus to TFS 2017 - Publishing ASP.NET web sites
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM