Ask HN: Looking for a CI/CD project for my local lab
4 points
7 hours ago
| 6 comments
| HN
Hello, I have a couple of computers in my home that I use to build and test whatever I am working on. The problem is that I currently do everything over "manual ssh/scp" (some basic bash scripting).

I was wondering if anyone uses some kind of of local CI software to automate this process: pick my source code, send it to a machine, run some commands and show me the log (I am ok with doing it over ssh under the hood). Any tips?

Thanks in advance.

y2244
5 hours ago
[-]
Take the time to read up on CI/CD

Lots of different options, hosted and self hosted.

Github actions and GitLab are two of the more common ones, the latter is self hosted but the former is the dominant one if CV skills is needed

reply
_mitterpach
4 hours ago
[-]
Github Actions runner can be self-hosted as well! Microsoft tried to curb it for a while by making self-hosted runner minutes paid as well, but quickly walked that back.

Do note that Github Actions have been the target of like 50 different attacks and I would not combine publicly hosted code with your own runners, as without proper sandboxing it can lead to anybody executing any code on your machine just by opening a PR (might have been fixed since last I heard, but the general vibe stands).

reply
KomoD
5 hours ago
[-]
You could run Woodpecker, maybe? https://woodpecker-ci.org
reply
rili
1 hour ago
[-]
Jenkins
reply
spacemule
7 hours ago
[-]
I use webhooks to argo events that trigger argo workflows on a small k3s cluster on my desk. You could do the same even with a single node cluster.
reply
roserugco
3 hours ago
[-]
Github does provide to connect your self host runners.

But if you ever needed to do this offline like localhost only you can use Gitea (has its own Gitea Actions as Github local) and connect it with Woodpecker CI.

https://gittea.dev/ https://woodpecker-ci.org/

good luck.

reply
turtleyacht
7 hours ago
[-]
Github lets you start up a self-hosted runner.
reply