23

I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

Is there a CI that can do those things (run locally and remotely)?

Anti Commercial-AI license

you are viewing a single comment's thread
view the rest of the comments
[-] iii@mander.xyz 2 points 1 month ago

Gitlab runners can run locally

[-] onlinepersona@programming.dev 2 points 1 month ago
[-] jacksilver@lemmy.world 4 points 1 month ago

I don't think that's accurate, the post is from seven years ago. Additionally there are a lot of materials online that indicate your still can - https://virtualizare.net/devops/how-to-run-gitlab-runner-locally-best-practices.html

[-] anton@lemmy.blahaj.zone 1 points 1 month ago* (last edited 1 month ago)

I think there is a misunderstanding, what running locally means.
You can run a gitlab runner on your local machine, but it needs to pulls it's jobs from git. It also requires gitlab to register your runner, so it can't really work for new contributors to use themselves.

[-] jacksilver@lemmy.world 2 points 1 month ago

Ahh, I see what you mean.

At that point I feel like you may as well just use makefiles. Did that at an old company, it had params for local deployment testing vs CICD. This also let's you define how you break the local deployment tests, as usually you can't really fully test a CICD locally.

[-] iii@mander.xyz 2 points 1 month ago

Oh, thanks for letting me know

this post was submitted on 15 Apr 2025
23 points (96.0% liked)

Programming

20196 readers
469 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS