小型 .NET 开源项目的持续集成

发布于 2024-08-16 18:36:08 字数 1841 浏览 6 评论 0原文

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

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

发布评论

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

评论(10

天邊彩虹 2024-08-23 18:36:08

AppVeyor 与 Github 集成良好,对于开源项目免费,而且非常简单来设置。

使用 YAML 或 UI 配置构建。免费帐户一次仅限于一个版本。支持部署到 NuGet,以及项目和帐户源。它与 GitHub 深度集成,例如允许创建版本。它支持构建矩阵、AssemblyInfo 修补、滚动构建、构建优先级、状态徽章、构建通知等。


Travis 是众所周知的 CI(似乎是 迄今为止最受欢迎的托管 CI),现在它支持构建C#、F# 和 VB 项目也是如此。需要注意的是,它仅支持 Linux 和 Mono,并且处于测试阶段(“可能随时删除或更改”)。


MyGet 是一个托管包服务器,但现在它也支持构建服务(目前预览)和其他功能。它对公共源免费(最大 500 MB),并且对于批准的开源项目具有稍微更好的功能(更大的存储空间和画廊)。构建服务针对包进行了优化:NuGet feed、MyGet feed、SymbolSource 集成等。

AppVeyor is well integrated with Github, free for open-source projects and really easy to set up.

Builds are configured using YAML or UI. Free accounts are limited to one build at a time. Deployment to NuGet is supported, as well as project and account feeds. It is deeply integrated with GitHub, for example allows creating releases. It supports build matrices, AssemblyInfo patching, rolling builds, build prioritization, status badges, build notifications etc.


Travis is well-known CI (and seems to be the most popular hosted CI by far), now it supports building C#, F# and VB projects too. The caveat is that it supports only Linux and Mono and it's in beta ("may be removed or altered at any time").


MyGet is a hosted package server, but now it supports Build Services too (currently preview) and other features. It's free for public feeds (500 MB max) and has slightly better features for approved open-source projects (bigger storage and gallery). Build service is optimized for packages: NuGet feed, MyGet feeds, SymbolSource integration etc.

会发光的星星闪亮亮i 2024-08-23 18:36:08

Microsoft 现在由 Team Foundation Server

它提供:

  • 源代码控制:TFS、Git
  • 敏捷规划:敏捷、Scrum、CMMI
  • 持续构建
  • 协作
  • 集成
  • 测试执行
  • 部署

Visual Studio Team Services 不需要在其上托管代码,代码可以从 GitHub 或任何 Git 存储库中提取。

如果项目很小并且没有复杂的构建要求,托管pool 可用于执行 CI 构建。有几个限制:可用的软件、一次构建一个、一小时的时间限制等。如果还不够,您可以通过在计算机上运行脚本来添加自己的构建代理。

GitHub 支持并不完整(例如,未构建拉取请求),但支持大多数功能。 Shields.io 尚不支持 VSO,但可以使用自定义屏蔽。

开源项目的主要缺点是构建日志、测试结果和其他数据不会公开。免费帐户只能授予五个用户访问该项目的权限。有一个 关于 UserVoice 的建议以使公共项目成为可能。

This is now provided by Microsoft for free for teams of up to 5 people by Team Foundation Server.

It provides:

  • Source Control: TFS, Git
  • Agile Planning: Agile, Scrum, CMMI
  • Continuous Builds
  • Collaboration
  • Integration
  • Test Execution
  • Deployment

Visual Studio Team Services doesn't require hosting code on it, code can be pulled from GitHub or any Git repository.

If the project is small and doesn't have complex requirements to build, Hosted pool can be used to perform CI builds. There're several limitations: available software, one build at a time, time limit of one hour etc. If it isn't enough, you can add your own build agents by running a script on your machines.

GitHub support isn't full (pull requests aren't built, for example), but most functionality is supported. Shields.io doesn't support VSO yet, but a custom shield is available.

The primary drawback for open-source projects is that build logs, test results and other data won't be public. Only five users can be given access to the project on a free account. There's a suggestion on UserVoice to make public projects possible.

仲春光 2024-08-23 18:36:08

我知道该线程已经很老了,但是对于仍在寻找答案的人,我建议您查看 AppHarbor

它是与 Github 和 Bitbucket 的集成非常容易,并且您可以通过“addon”选项免费获得基本的数据库连接。

对于初创公司来说相当方便。

I know the thread is quite old, but for the people still looking for the answer I recommend taking a look at AppHarbor

It is pretty easy to setup integration with Github and Bitbucket, and you have basic db connections for free through "addon" options.

Quite convenient for startups.

哥,最终变帅啦 2024-08-23 18:36:08

另请看一下 CodeHaus:

http://codehaus.org/

他们使用 Atlassian 的 Bamboo CI 软件。

没有意见-因为我从未使用过它。

Also take a look at CodeHaus:

http://codehaus.org/

They use Atlassian's Bamboo CI software.

No opinion - as I've never used it.

野却迷人 2024-08-23 18:36:08

我认为您不会轻易找到真正的免费(我的意思是任何项目、任何语言)托管 CI 服务,因为这样的服务是 CPU、RAM、磁盘密集型的,这意味着特定的规则、硬件、定价。

对于某些优惠,请查看外包持续集成 或这个问题在这里。我没有详细查看所有解决方案,因此我不知道它们是否能满足您的要求(语言、工具和定价)。

或者尝试加入为开源项目提供持续集成的熔炉,例如 The Codehaus (<强>编辑:不是.NET项目的选项(AFAIK)或CodeBetter。这肯定需要一些努力才能让您的项目被接受(恕我直言,实际上很少有人这样做),但这可能是您最好的选择。

I don't think that you will easily find a real free (by this I mean for any project, any language) hosted CI service because such a service is very CPU, RAM, disk intensive which implies specific rules, hardware, pricing.

For some offers, have a look at Outsourcing Continuous Integration or this question here on SO. I didn't look at all solutions in detail so I don't know if they'll meet your requirements (language, tool and pricing).

Or try to join a forge providing Continuous Integration for open source projects like The Codehaus (EDIT: not an option for .NET projects AFAIK) or CodeBetter. This will certainly require some efforts to get your project accepted (few actually are IMHO) but this might be your best option.

孤凫 2024-08-23 18:36:08

我刚刚开始使用 OnCheckin:

https://oncheckin.com/

它们专门为 .NET 项目提供。

I've just started using OnCheckin:

https://oncheckin.com/

They exclusively provide for .NET projects.

暖伴 2024-08-23 18:36:08

也许正确的答案是有人为此类事情提供一组 EC2 映像,因此用户可以使用 Amazon,或者如果他们偏执的话,可以在防火墙内的 Eucalyptus 上构建自己的云......但无论哪种情况,您可以节省构建这些图像的时间和成本。

Maybe the right answer is for someone to make a set of EC2 images available for this sort of thing, so users can either use Amazon, or build their own cloud on Eucalyptus inside the firewall if they're paranoid... but in either case, you save the time and cost of building those images.

心房的律动 2024-08-23 18:36:08

MikeCI 是一项经济实惠的托管 CI 服务,每月 10 美元起,您可以在几分钟内完成云构建设置。目前它支持 Ruby、Maven 和 Ant。它有 30 天免费试用期,因此您可以尝试一下,看看效果如何。我个人认为这很棒,而且我认为他们正在寻求支持 .Net 和 Objective C!

这是他们的网站 http://www.mikeci.com

MikeCI is an affordable hosted CI service, from $10 per month you can have a cloud build set up in minutes. It currently supports Ruby, Maven and Ant. It has a Free 30 day trial so you can try it and see what it's like. I personally think it's great, plus I think they're looking to support .Net and Objective C!

here's their site http://www.mikeci.com

凡尘雨 2024-08-23 18:36:08

我知道这可能是一个旧线程,但这

是另一个选择:

查看 Jenkins

它确实支持 Jenkins.NET我现在正在使用它。

这是另一个相关主题: TFS 2008/2010 与 Jenkins持续集成

I know this is probably an old thread, but

Here's another option:

Checkout Jenkins.

It does supports Jenkins.NET which I'm using right now.

And here's another SO-RELATED-THREAD: TFS 2008/2010 vs Jenkins for Continuous Integration

反目相谮 2024-08-23 18:36:08

Pascal 的评论指出了 RunCodeAt。与 github 集成非常容易,我碰巧在 github 上托管了我的项目。我会尝试一下。

There's RunCodeAt, which Pascal's comment pointed me to. It is super easy to integrate with github, which I happen to host my project on. I'll give it a try.

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