Hacker News new | ask | show | jobs
by bushido 61 days ago
I recently got annoyed with the amount I was paying on actions for a single repo. And decided to use a Mac mini that I had lying around to become the sole self-hosted runner for that repository instead.

It was ridiculously easy to set up, reduced my issues with GitHub significantly and the mini will literally pay for itself 3-4x over this year with the $$$ I'm saving not paying for GH actions.

The most surprising part for me was not the cost savings, but that all my workflow runtimes went down by about 70-80%.

2 comments

You can use Kubernetes with Kaniko or Docker-in-Docker or rootless Docker for building stuff too. I think that's much cheaper in an org context. The amount of CI we run, we have saved countless dollars.

We were thinking about opensourcing our flows.

Set of fat buildkit instances per build shape served on a spot instances autoscaled down to 0 with KEDA and Karpenter is pretty close to as optimal of a setup as one can get
Sure.
If you're still using github workflows with your own action runner, you are still susceptible.