this post was submitted on 03 Jul 2023
18 points (95.0% liked)

Selfhosted

40040 readers
683 users here now

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!

founded 1 year ago
MODERATORS
 

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.

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 1 year ago (2 children)

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.

[–] [email protected] 4 points 1 year ago (2 children)

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

[–] [email protected] 4 points 1 year ago

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.

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

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.

[–] [email protected] 2 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 2 points 1 year ago
[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

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.

load more comments
view more: next ›