#forgejo #freebsd anybody out there who has implemented a forgejo runner in a freebsd jail?

blog posts welcomed, I can't find any!

@dch There’s a FreeBSD port for it, should install cleanly in a jail: https://www.freshports.org/devel/forgejo-runner/
FreshPorts -- devel/forgejo-runner: Act runner is a runner for Forgejo based on the Gitea Act runner

Act runner is a runner for Forgejo based on the Gitea Act runner This is a fork of the Gitea act runner developed and maintained by Forgejo community and intended to be used with Forgejo only.

@dch
Maybe this would be.
https://mastodon.bsd.cafe/@announcements/112394172733428370

https://brew.bsd.cafe/

@stefano usually builds his services on *BSD and I think user-facing ones like forgejo would be likely running inside FreeBSD jail(s).

BSD Cafe Announcements (@[email protected])

Introducing Brew – Your New Home for Coding at BSD Cafe Hello BSD Cafe Community! I'm thrilled to announce the launch of Brew, our very own Git service tailored specifically for our BSD Cafe family. As you sip your morning coffee, why not brew some code as well? Brew is now available at https://brew.bsd.cafe - a platform where our community's projects will live and thrive. What is Brew? Brew is a dedicated space for you to host, manage, and collaborate on software projects. Powered by Forgejo, it is designed to be simple, fast, and effective, meshing perfectly with our community’s ethos of freedom and innovation. Why Brew? - Community-Centric: Created for BSD enthusiasts by BSD enthusiasts. It's our own cozy corner of the internet to build and share. - Open Source: Fully open-source, ensuring transparency and the ability to contribute to the improvement of Brew itself. - Private and Secure: We respect your privacy and the integrity of your work. Brew is committed to maintaining a secure environment for all your projects. Get Involved - Start a Project: Have an idea? Launch your repository today! - Collaborate: Join existing projects and contribute to building something great. - Learn: Whether you’re a beginner or a seasoned pro, Brew is a place to grow your skills. Come for the code, stay for the community. Let’s build something incredible together at Brew. Visit us now and start your first repository! Happy Coding! #BSDCafe #BSDCafeAnnouncements #BSDCafeServices #BSDCafeUpdates #Forgejo #Git #RunBSD

BSD.cafe Mastodon Portal
@dch Are you looking for a runner that just runs in a jail as a host runner, or something that spawns a new jail for every run?
The former is very easy, just use the port and configure it as a host runner. Done that before.
The latter sounds kinda cool, but I wouldn’t have heard of it yet
@dch yes, I did it just this week. No blog yet but will pull together what I did later (am using Bastille so it will be based on that)
@tobybryans awesome! Looking forwards to it. I’m interested in having a clean build with zfs rollback each time, did you go that far?
@dch I haven't, no, but I have got it to deploy to staging with a branch choice, and production with no branch choice. This is for a php site we host so deployment is just git. Once you have got the runner set up though the rest is yaml in your repo.
@dch also do let me know if you get the zfs rollback working, I wasn't aware you could do that from within a jail so that would be most interesting!

@dch I've pulled this together; apologies for the formatting, we're working on our website right now and will be adding a proper blog when we migrate to the new site (the URL will change then, I'll follow up here when it does)!

Do let me know if I've got anything wrong or can improve it in any way, this was from memory, but I think it covers everything I had to do!

https://deburen.co.uk/forgejo-runner.html

Forgejo Runners in FreeBSD Jails | De Buren LLP

Web services and consultancy partnership in London, England

@tobybryans awesome! Might be tomorrow before I get a chance to try this but thank-you!