简体   繁体   English

如何使用tfs 2013与服务架构持续集成?

[英]how to do continuous integration with service fabric with tfs 2013?

There exists a great amount of documentation and samples on how to create build definitions for VSTS and TFS 2015+ for Service Fabric continuous integration and deployment. 关于如何为VSTS和TFS 2015+创建构建定义以进行Service Fabric持续集成和部署,存在大量文档和示例。

What is available in terms of integration with TFS 2013 for deployment of Service Fabric applications? 在与TFS 2013集成以部署Service Fabric应用程序方面有哪些可用的方法?

How do we integrate the build and deployment of on-premises Service Fabric clusters / applications / services with TFS 2013? 我们如何将本地Service Fabric集群/应用程序/服务的构建和部署与TFS 2013集成?

Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable distributed applications. Service Fabric是一个分布式系统平台,可以轻松打包,部署和管理可扩展且可靠的分布式应用程序。 It was developed as a Microsoft-internal-only platform for over five years, which shipped publicly as a product in 2015 . 它是作为Microsoft内部独立平台开发的,已有五年多的历史,并于2015年作为产品公开发布

The vNext build is also released on 2015 and have many benefit such as simple, deep Customization than XAML build. vNext构建版本也于2015年发布,具有许多优点,例如简单,深度的自定义而不是XAML构建。 So most documentation is related to vNext build. 所以大多数文档都与vNext构建有关。

According to the build and release steps in documentation you provided above,it's general normal tasks such as build , test, copy files ,publish artifacts, it's not hard to convert to XAML build. 根据您在上面提供的文档中的构建和发布步骤,它是一般的常规任务,例如构建,测试,复制文件,发布工件,转换为XAML构建并不困难。 You just need to do some build activities customization. 您只需要进行一些构建活动定制。 One specific task is Azure Resource Group Deployment Task, there is no such correspondingly in XAML build. 一个特定的任务是Azure资源组部署任务,在XAML构建中没有相应的任务。 However, this task is used to create or update a resource group in Azure using the Azure Resource Manager templates . 但是,此任务用于使用Azure资源管理器模板在Azure中创建或更新资源组。 You could try to use powershell to achieve this part. 您可以尝试使用powershell来实现此部分。 The most import is using powershell script to publish to Service Fabric. 最重要的是使用powershell脚本发布到Service Fabric。

Actually, when working on TFS2013 XAML build, usually we integrate with Azure Cloud Service not service fabric. 实际上,在使用TFS2013 XAML构建时,通常我们与Azure Cloud Service而不是服务结构集成。 There are also related blog with detail steps show how to do it. 还有相关的博客,详细步骤显示如何做到这一点。 You could take a reference: Continuous Delivery for Cloud Services in Azure 您可以参考: Azure中的云服务持续交付


Moreover, since you are still using XAML build and stay on TFS2013. 此外,由于您仍在使用XAML构建并保留在TFS2013上。 We encourage you update your TFS version to get latest technology and move to new web-based vNext build system. 我们鼓励您更新TFS版本以获取最新技术并转移到新的基于Web的vNext构建系统。 On TFS2018, we even removed support for XAML Builds . 在TFS2018上,我们甚至删除了对XAML Builds的支持 For the benefit of VNext builds, you could refer to this article: Why You Should Switch to Build VNext 为了VNext构建的好处,您可以参考这篇文章: 为什么要切换到构建VNext

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

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