From owner-freebsd-hackers@freebsd.org Sat May 27 17:14:28 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05F3FD84960 for ; Sat, 27 May 2017 17:14:28 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC92D1137 for ; Sat, 27 May 2017 17:14:27 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id l14so15608770ywk.1 for ; Sat, 27 May 2017 10:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=TL4re/6TgnKeaE+pnxErEtg1D5hINJcHKrOMYLXybW0=; b=EmCoGGizc1SF9mhtrzvYc+mbgpb0up0sAiirsYN7ueDRU7hQtRZS98VmBuJ2EfSQZc HZVncI3cE/gA1TSi12nJC5GLbPudhQmVSeUye0Z70J7A47+qSBkyJBfkilYhuF8jssXy s0cwvwYoAhEllzA8cxhUXQ9VQQGH5mFkvwoq5zPuEIgVNPUfG9ol6rr0UKTUupxhDsyw ojo14kgvNF/iUz3ADKDSkB7d1dysZaVNfh9GUKaGpHsaj3aoDPrl/5/u/zDX8pUfUrSH 0BMnmEpXjZVd9druZoOleSxgz4nQMWsISLH5dnmW4A0Y/ZoXptiDApafkzkYMrP1fVHW IvDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=TL4re/6TgnKeaE+pnxErEtg1D5hINJcHKrOMYLXybW0=; b=BmtLZA4OLJNm9b/6LIdsPnsjNks0T+FQE1NANG9FC4W/iXe3y5U+n3fKULPXzoa5qh LBqa8IOanCr49FAYFTqodGZDWxZDD0mxJjaOZvPEIp2QNyZ7ZeUtVB9czvVvRwL0LPGe 7haqejgVrMCUdtE+IXgpsFGtC7B1qsDhRqR2TbfK96PilwAGyLDfA5rCd3iONgxB4tvp LySjAXMyxHzVH9H79sPEZN9c3OrX2ga2sMFPrRFNbd0Hv+OreJrVKu0ecTZX7OhtRmHM ydHInMwvc5bZIhtVvVCvXip39TQArRYbj+T/Ezio2bv9vClt6MOFZ5LZaaXBWF6ONrbs PVeA== X-Gm-Message-State: AODbwcDS291FseMvnu0SVueLfL2C4y+j8YEYW3gSkQAgmFDr7dAAuapC iLfnSwl8AWlnr8+tZVBuqZ42rf5zpM5n X-Received: by 10.13.235.13 with SMTP id u13mr4645878ywe.222.1495905266703; Sat, 27 May 2017 10:14:26 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.13.206.199 with HTTP; Sat, 27 May 2017 10:14:26 -0700 (PDT) From: Alan Somers Date: Sat, 27 May 2017 11:14:26 -0600 X-Google-Sender-Auth: sVbkqy4roI0e7IdDS0TLa2qZSio Message-ID: Subject: CFT: CI for GitHub on FreeBSD To: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2017 17:14:28 -0000 I found it mildly frustrating that there was no hosted CI service for FreeBSD that worked with GitHub projects, so I made my own. You can see it in action here: https://github.com/asomers/mio-aio/pull/6 * https://162.213.36.222/buildbot/#/builders/2/builds/28 I'm using BuildBot running within an Iocage jail on a VPS. I want to automatically build pull requests as well as commits, so I have it configured to create a new jail for every build. That also allows me to use a shared worker for multiple projects. I think that this system could probably scale up to a few dozen projects on the same server. Eventually, navigating the UI will probably be the bottleneck. Awkwardly, I'm using Docker to manage the worker. That's because both BuildBot and GitLab have built-in support for Docker. It probably wouldn't be too hard to add Iocage support to BuildBot, but it would be impossible to do that for GitLab's hosted service. Unfortunately, the FreeBSD port of Docker has a few bugs, and I'm not sure where to report them. The repo at https://github.com/kvasdopil/docker looks unmaintained. Is anybody working on Docker for FreeBSD these days? As an alternative to BuildBot, I tried out GitLab. It's UI is superior to BuildBot's, because each project get its own UI and yet they can still share workers. However, I ultimately decided not to use GitLab because there's no free or cheap way to do automated OSX builds for it, and many of the projects I'm interested in support OSX as well. They've become addicted to Travis CI's free OSX builds and would be loath to give them up. The service is pretty much ready for beta testing at this point, as soon as I get a static IP and a DNS entry. What I need are a few small projects to test it out. What I'd like to have would be a more up-to-date Docker port. Any takers? -Alan * The IP is dynamic at this point, so the link may be dead if you're reading this in the archives