是否可以从TFS创建docker容器并向其部署发布版本? [英] Is it possible to create a docker container from TFS and deploy a release build to it?

查看:126
本文介绍了是否可以从TFS创建docker容器并向其部署发布版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在运行本地TFS2017。我想为我们的质量保证团队创建一个发布定义,该定义将创建一个运行Windows 7的Docker容器,并将发布版本自动部署到该容器中。

We are running on-premises TFS 2017. I would like to create a release definition for our QA team which will create a Docker container running Windows 7, and deploy our release build to it automatically.

部署完成后,质量检查小组应能够登录到容器中以测试应用程序。没有手动运行MSI安装程序或Setup.exe。

Once the deployment is done the QA team should be able to log onto the container to test the app. No manual running of a MSI installer or Setup.exe.

理想情况下,每个排队的发行版都将使用自己的已发行版本副本创建自己的容器。

Ideally each queued release will create its own container with its own copy of the released build.

这是可能?还是推荐?我们所有的服务器和主机都将在内部使用,我们不会使用Azure。

Is this possible? Or recommended? All our servers and hosts will be in-house, we will not be using Azure.

在此先感谢您提供任何建议。

Thanks in advance for any advice.

推荐答案

它能够从TFS创建docker容器,并与构建/发布管道集成。此区域的一些教程:

It is able to create a docker container from TFS and integrate with build/Release pipeline. Some tutorials for this area:

  • Continuous Deployment with Docker and Build vNext
  • Using docker on Windows in VSTS build and release management

但是,无法构建Windows 7 Docker容器。如果
您计划完全安装Windows 7,则应使用
VM 并不是要在这种意义上使用Docker。

有关更多详细信息,请参见以下类似问题: 构建Windows 7容器

For more details please refer this similar question: Build a Windows 7 Container

这篇关于是否可以从TFS创建docker容器并向其部署发布版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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