Anybody have recommendations for a lightweight CI/CD service that I can run on a Raspberry Pi with 8GB memory?

I’d like to run it in Docker, and I’m the only client — it doesn’t matter to me if builds have to queue/if there’s only one worker “node” on the pi, but I just want to be able to do github action-like stuff with my gitea server.

GreenDot 💚
link
fedilink
English
31Y

You can try Woodpecker CI/CD https://woodpecker-ci.org/ It is a opensource fork of droneCI https://woodpecker-ci.org/faq

@iluminae@lemmy.world
link
fedilink
English
121Y

I run drone.io with gitea, it’s nice, doesn’t do much when it’s not working.

Gitea added their own CI tooling that is configured like GitHub actions as well - I haven’t tried it yet though.

I had no idea Gitea was adding actions! I’m very excited! It doesn’t look like it’s out in the current release version (1.19.3):

https://docs.gitea.com/next/usage/actions/overview

It’s available on 1.19.3. Using it with my Gitea instance currently. Behind a flag in the config.ini I believe. Not at all stable yet, and not feature complete compared with Github Actions, but I’ve done a bit of testing with it and it’s been pretty smooth sailing.

@GaussianInteger@lemmy.world
creator
link
fedilink
English
11Y

I didn’t realize that gitea was adding actions either — it does look like their current setup expects the actions runner to be outside of docker, though: https://blog.gitea.io/2023/03/hacking-on-gitea-actions

That’s not to say it would be impossible to wrap it in a container, but their claim that they “recommend running it on a separate server from the gitea server for performance reasons” makes me wonder if it’ll work on my little pi.

terribleplan
link
fedilink
English
2
edit-2
1Y

I think it is in the current version just mostly undocumented and behind flags to turn it on. It definitely is in the latest Fogejo with flags as I described, which I migrated my gitea to. I haven’t had a chance to play with it yetm but am looking forward to it. I love github actions and it is super similar.

@GaussianInteger@lemmy.world
creator
link
fedilink
English
21Y

Update — I’m trying Gitea Actions. There’s still a little weirdness with some actions (e.g. the checkoutv3 action doesn’t work if your git server has a path prefix like http://my.server/some_git_specific_prefix/[rest of normal path]), but overall it seems to be working nicely.

I’m currently running the act_runner daemon as a service on the bare raspberry pi/not in docker, since it has to interface with the docker socket anyway and there’s no official act_runner docker image from gitea/I wouldn’t be getting any “ease of update” benefits.

poVoq
link
fedilink
English
21Y

You could try this for maximum flexibility: https://github.com/lab132/buildbot-gitea

@frankblack@lemmy.world
link
fedilink
English
11Y

I have a small K3s cluster as well as a separate docker server. The docker server runs on a 2012 Mac mini so I think it’s more out of date than a RPi. All that to say, no issues running 14 docker containers like Sonarqube, gitea, Jenkins, Maven, etc.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 306 users / day
  • 532 users / week
  • 1.21K users / month
  • 3.83K users / 6 months
  • 1 subscriber
  • 3.73K Posts
  • 75.2K Comments
  • Modlog