Building my own poudriere build system
Bradley T. Hughes
bhughes at freebsd.org
Fri Jun 23 06:01:17 UTC 2017
> On 22 Jun 2017, at 18:05, Niklaas Baudet von Gersdorff via freebsd-questions <freebsd-questions at freebsd.org> 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:
>
> https://github.com/niklaas/port-builder
>
> 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 at freebsd.org
More information about the freebsd-questions
mailing list