From owner-freebsd-testing@freebsd.org Wed Dec 5 17:44:07 2018 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB1DC132264B for ; Wed, 5 Dec 2018 17:44:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1728E80176 for ; Wed, 5 Dec 2018 17:44:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f66.google.com with SMTP id p17so15399903lfh.4 for ; Wed, 05 Dec 2018 09:44:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc:content-transfer-encoding; bh=OeN5pu8mOe6ZMYmSJFZ3ChcTzFF5D1ZC0OqUZWl5LXI=; b=b5YgDBQ8guYd5pDsAgg7cVPS3ql5W+xnMq/whJTN6Y9PsWAOBlqTZ9za7bBm5FG+DX F4672GgsYjNIyYJ5vPTCdH0ahQyQJq6ZkjmMNy/20t9K9AWzthcYkvlT7WdJUph06h1t Uhsc2h0GhmhZLjSShacR+YUOaiQtDED/0ROuo8VH6OBRAWe8FzybgrWCK53HzjAa3O/C UW7g6H8pu2/+DIfYXX6UEzviTf7SPEPvITfc00ilm8lSX/+EogcSCwTNdwDEa/rrQPri wo+bGVLdKPP3mOGsdR93/ecg4eduFmOYDmeip80KB+eeq78l/z7p03kKYmNBw87QlIlw e1nQ== X-Gm-Message-State: AA+aEWYLT9PI1XpoaxTUciX/0kSrYSjoK5HdjOWHpTMmZvCKg43ISSG7 k3uP7WyCNZqdKh5r9LyQIyJiK5EJPqnwK6YqJKFdh33E X-Received: by 2002:a19:7d42:: with SMTP id y63mt16150083lfc.47.1544025203120; Wed, 05 Dec 2018 07:53:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Wed, 5 Dec 2018 08:53:11 -0700 Message-ID: Subject: Re: Is there anyway to get FreeBSD supported by Travis CI? Cc: Norbert Fuhs , "freebsd-testing@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 1728E80176 X-Spamd-Result: default: False [0.13 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; MISSING_TO(2.00)[]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; IP_SCORE(-0.97)[ipnet: 209.85.128.0/17(-3.49), asn: 15169(-1.29), country: US(-0.09)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.54)[-0.543,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.78)[-0.778,0]; NEURAL_HAM_LONG(-0.56)[-0.563,0]; TAGGED_RCPT(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-testing@freebsd.org]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.167.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.167.85.209.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 17:44:07 -0000 On Tue, Jun 5, 2018 at 11:09 AM Alan Somers wrote: > > On Tue, Jun 5, 2018 at 10:50 AM, Norbert Fuhs wrote: >> >> Hi, >> >> Is there anyway to get TravisCi to support FreeBSD or help FreeBSD with = it >> as voluntary? >> >> I normally use Ubuntu and try to get Ponylang >> running on FreeBSD 10.4 and they use Travis as CI. >> >> Best, >> >> >> Norbert >> _______________________________________________ >> freebsd-testing@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-testing >> To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.or= g" > > > Short answer: no. > > Long answer: > Travis uses Linux containers + Docker for their Linux builds. FreeBSD ob= viously can't run in such an environment. They do something different for = OSX, but they either aren't interested or aren't able to extend that to Fre= eBSD (and based on the OSX queue times, it seems likely that Travis's OSX s= ystem is too expensive to provision enough nodes). However, there are alte= rnatives to Travis: > > * BuildBot and Jenkins both run on FreeBSD, and they both work with GitHu= b commit hooks and statuses. It's a lot more work than using Travis, but y= ou can set up your own FreeBSD build server using one of these tools. You = can see a live example here: https://alan.ci/buildbot . > * If you don't care about security, because you won't be building pull re= quests from untrusted contributors, then you can use BuildKite's service wi= th your own build server. It's easier to setup than the other option, but = not secure. GitLab has a similar agent. But again, it's not secure. Buil= dKite is working on a solution to the security problem, but there's no ETA.= However, BuildKite's agent is open source and fairly simple. So if you'r= e sufficiently motiviated, you could write your own agent that uses a per-b= uild Jail for security. > * If you don't mind slow builds and you don't mind ripping off Travis's f= ree service, then there actually is a way to run FreeBSD on Travis: with QE= MU. If it sounds like an abomination, that's because it is. It's incredib= ly slow, but mostly works. You can find instructions here: https://erouaul= t.blogspot.com/2016/09/running-freebsd-in-travis-ci.html > > -Alan As of yesterday, there's a better option. Cirrus Labs just added a FreeBSD option to their CI service, and it's free for OSS. It's easy to setup, and it runs your tests in a full VM. https://cirrus-ci.org/guide/FreeBSD/ -Alan