Re: Cirrus CI to shut down
Moin Rahman <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
> On Apr 12, 2026, at 18:41, Alan Somers <[email protected]> wrote: > > On Sun, Apr 12, 2026 at 6:17 AM David Chisnall <[email protected]> wrote: >> >> On 12 Apr 2026, at 12:56, Joe Schaefer <[email protected]> wrote: >>> >>> Good points. But I don’t mean host your own build farm. I mean use the laptop your company gave you. >> >> There are many reasons not to do this. The top ones: >> >> - Our builds are done in a pristine environment. An attacker who compromises a developer’s laptop can potentially commit malicious code to the repo, but disabling force pushes means that we have an auditable view of this. With builds done on the developers’ machine, they could just inject malicious code into the binaries. >> - PRs from external contributors may be malicious. Running them on a cloud VM means that they have zero access to anything we care about and the VM is destroyed at the end. Running them on a developer machine means you’re just one container escape away from a flow from a GitHub PR to a compromised developer laptop. >> - Developer laptops are slower than big cloud machines. >> - Developer laptops are a single architecture, doing cross builds is annoying. >> - Developer laptops have smaller disks, but ccache works *really* nicely if it has a lot of space to store caches for every branch. >> - Developers often submit PRs at the end of the day and close their laptops, the cloud VM can start up when this happens. >> >> And you are talking about hosting your own build farm. That’s the only other option. You’re just talking about running your build farm on machines that are not always on and hold sensitive data. >> >> David > > I'm considering three options to replace Cirrus: > > 1) https://github.com/cross-platform-actions/action . This lets you > run FreeBSD (among other platforms) on github workflows using nested > virtualization. That's not ideal, but at least it looks easy. And it > doesn't solve the cost problem that David brought up. > > 2) https://sourcehut.org/ . It supports CI on FreeBSD/amd64 . The > code is open source, so a dedicated user could probably add whatever > features he needs. Or, self-host. However, it's still officially in > alpha, and I don't know how well it works. And the pricing strategy > suggests that they're focused on amateurs. Sourcehut is intended as a > full code-hosting service, but it can also be used just for CI, for > projects hosted on Github, with > https://github.com/emersion/hottub?tab=readme-ov-file . > > 3) Cirrus-Ci itself. Cirrus labs claimed in their blog post that > they're going to open-source all of their code. So anybody else could > resurrect the project. Since Cirrus doesn't own any of its own > infrastructure, instead reusing AWS or GCE, it should be easy to > resurrect it. Still, that's too much work for me alone. But I might > be willing to help if somebody else takes the lead. > > 4) A fully personalized, serverless, cloud-hosted CI. It seems like > it should be possible to build a personalized CI service that uses AWS > lambda functions for coordination and UI, and uses AWS or GCE virtual > machines for the CI workers. Very scalable. It would cost money to > use, but not very much. This doesn't count towards my list of three > because it doesn't exist yet. But it seems like an obvious idea. > I'll ask Santa Claus for this next Christmas. > I think Option 3 is not correct. They are going opensource only for some of their products which includes Tart, Vetu and Orchard. I am working with one of my ex-client about something that I built for them ages ago if we can goopensource. I will keep this list posted. Kind regards, Moin
signature.asc
(application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmnbzcdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJEsEg//cv226TZfbMkh49OzTzML1XtLl5X2n8ueXV9LqtKt0IWxxJJkDUIX1NN+ p6nfhh6mjhJfhO9vuGbqYM/ANSN1ThKXjrhuYaHOHrulBi4A+QMj2J5BojEdM4ad SU9OJdY8Q9Ma+QwsPt25grIBiEBCEcpcbSVPG1qMF79+JI+oZ4e2lQdyEdIDwMu0 yKldsufcIHRCL0Luyvf/n96WwoabwiYj3M5mq7xB4Yt81w0ZLt/Oy6Aa7bMExoX7 8JEEsLFRpXXbncwGlWnFmwp4Ytzk7/P7l881VlrTXnGUWwxAXpEYKK9hBdASu7op UnDIaaKWKzpAzmyXIAr2e23Bi7Hm18NI9VGpn7zzT3KYVOOKQr7SBS+W+iu16hAk zr10lUrAj5zuP6H8ky6jXd2PxXy9AWGPpISQbwaVoh+0u3lpJMgmqR8kc+XdseY6 B/4+otJp7FpInUC3ab+QF5C0nAxgOj8b8eB3zXQ0breng+8Zt0QPjbFlN7l+tORT MhlU8h4aAgIzEOMxzX6DM1b5NARoaVWz79XJJYmfvmQF4QeF13WqqHnIJdo50JhC dtxy9Q7nBcUjxEXUszr+T5MTErO0LwKfySTPjzKq1PoSQqaWAtQTaB3xU6KUXIGr SQBnuKU+38VYn4gD4N6sqNGq/Ghg8tcvr8V1/tfrSOR8x5747YM= =U0Fh -----END PGP SIGNATURE-----