Ask HN: Looking for a CI/CD project for my local lab

5 points by q8zd3 ↗ 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.

9 comments

[ 2.0 ms ] story [ 32.6 ms ] thread
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.
Github lets you start up a self-hosted runner.
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

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.

Are you self-hosting code in Forjego by any chance? If yes, there's an integrated system called "actions"[1].

Jenkins is popular but complex. I would look elsewhere, woodpeckerCI looks like a good solution but I don't have direct experience with it.

I've worked with Tekton in the past, but it's tailored around kubernetes, e.g. a good for k3s (self-hosted k8s cluster).

If you're not self-hosting and you use something like github, you need to either leave an HTTP server open to the internet (insecure) or use something like ngrok, smee.io, cloudflare tunnel, hookdeck, etc. These tools will manage to forward the webhook in a secure way to the internal system.

[1]: https://forgejo.org/docs/latest/admin/actions/