From owner-freebsd-questions@freebsd.org Fri Jun 23 06:01:17 2017 Return-Path: Delivered-To: freebsd-questions@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 A1374D9D1FB for ; Fri, 23 Jun 2017 06:01:17 +0000 (UTC) (envelope-from bhughes@freebsd.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 781E0792F6 for ; Fri, 23 Jun 2017 06:01:17 +0000 (UTC) (envelope-from bhughes@freebsd.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 25122209DE; Fri, 23 Jun 2017 02:01:16 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 23 Jun 2017 02:01:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=a8pNhXsXxrzOnYl87gAE9b1PopJEVUgto3kvHe6dxYQ=; b=Wfw5A5mz 0IvLVDKFbFlOqOM/l7KOxf3j712/PkxwNR07CuhhT2wwWOX6pkwsgB6laK6Xgv2Y Jj2Aa1FyVz65+HEzThzsa+4gdryb1crkyIViCsZVhF/WRrEqizTz9itBOFyHrGHk FwfWlE4IP7DB47pSsF+fUNynVyoVwuz7SXDfoOJvCvPGch7QaLE2MK6kH+euJ4K2 sf5DKPt/wxmUBkkiJrzP23+TO6FEYSlgy35pYqUE3qWZrsm7fcX3jR2js0l8+DLR Q19q169BEAG6mt0GDUcaWliBQ8FE97LFz0uNvuA5h93myz1V3lWEkE/KbodkwGwA MEqiyC8BZueIpg== X-ME-Sender: X-Sasl-enc: FqgH9PrsHlInRAkd2IabxxCloA0+HJ1w7EhApkjreW0r 1498197675 Received: from [192.168.0.74] (ip84-247-189-242.breiband.no [84.247.189.242]) by mail.messagingengine.com (Postfix) with ESMTPA id 7F32524664; Fri, 23 Jun 2017 02:01:15 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Building my own poudriere build system From: "Bradley T. Hughes" In-Reply-To: <20170622160501.piqo5hsfwzx7gpvk@box-hlm-03.niklaas.eu> Date: Fri, 23 Jun 2017 08:01:11 +0200 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20170622160501.piqo5hsfwzx7gpvk@box-hlm-03.niklaas.eu> To: Niklaas Baudet von Gersdorff X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 06:01:17 -0000 > On 22 Jun 2017, at 18:05, Niklaas Baudet von Gersdorff via = freebsd-questions wrote: [snip] > This was theory. Practice is a bit more difficult, but I managed > to create a Terraform [1] skeleton that does that in principal: >=20 > https://github.com/niklaas/port-builder >=20 > But I keep on wondering: How do you manage to build greater > amounts of packages or do crossbuilding? I cannot imagine > everybody having a high-end machine standing in the living room > -- but maybe my assumption about FreeBSD developers and port > maintainers are wrong. :-) On the web, here and there I found > someone having the same idea and having implemented it with some > scripts, but I haven't found a proven/official solution yet. How > do you approach this? Do you build in the cloud or locally? I build in the cloud. Like you, I use an EC2 instance with poudriere and = multiple versions of jails to test changes/patches. I haven't gone as = far as to copy the packages to S3, though. My builder is running 24/7, = and I've been using spot instances to keep the cost down despite using = an m4.2xlarge. I like your Terraform skeleton. I have often wanted to do something = similar, but never gotten around to it. I am curious how far you will be = able to take it. Thanks for sharing! I'm glad I'm not the only one using EC2 for building = ports :) -- Bradley T. Hughes bhughes@freebsd.org