What is the best self hosted git server [Gitea or GitLab]?

  • 🔧 Site instability resolved. You can report double-posts and broken attachments. For bigger issues, use the Technical Grievances thread.
    🇵🇦 Nuestro primer dominio localizado está en español en kiwifarms.pa. Our first localized domain is on Spanish on kiwifarms.pa.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account

stares at error messages

America? Stick a fork in her, she's done.
kiwifarms.net
Registrado
7 de Dic, 2020
I'm interested in integration with Kuberntes. Continues Integration is most important feature I'm looking for. Just having a web git interface is not that important on it's won. I'm open to other options, but they have to be establish, not some very new buggy project, and need to have good continuous integration job runner. I have heard that GitLab is hard to update. Is this still true? When updating does the data on the server get preserved or do all the repos have to be recreated?
 
Última edición:
Only have experience with selfhosting Gitea, i like the mirror/scrape feature so it can double as a backup-system for endangered repos.

I'm not up to date on the CI features on it however, the scripts i make myself are too small in scope for that.
 
I use forgejo and I like it a lot
 
Gitea is way less bloated than Gitlab. It eats a lot less resources and is a lot easier to set up. Gitea is almost entirely just one executable. I'd argue that maybe even Gitea is overkill depending on what you need to do.

I mean, look at this nightmare:
Are you going to be able to sleep at night with that many interconnected shit?
Granted, it's what Gitlab have for their production serrvers, you probably don't need half of that, but it's still way more complicate than alternatives.

To be pretty suckless and minimal you could use Gitolite. If you want a web frontend, you could add cgit as a read only web frontend on top of that. For CI write your own scripts as git hooks (post-receive or whatever) in shell.

CI sounds nice on paper. But managing it is added complexity and IMO only worth it if you work at a place that has a large amount of programmers. Anything below 5-10 it's not worth it, just have one guy that's good in scripting write good build scripts and push the artifacts yourself whenever you want to stage or release.
 
Gitea is probably what you're looking for. It does CI and if you're inclined to it can host docker images as well, its pretty lean for what its doing and the repo layout is familiar to people who use Github. Gitlab is very heavy and full featured but its definitely the option if you were planning to be a public host with big hardware backing.
 
From the recommendations here I've had a look at Gitea.

Good things:

Bad things:
  • Gitea is dependent on Github Actions Scripts. They use the same scripts that are pulled from Github. Again, it make is easier, but it means that you are still dependent on Github. So it really is like "Github Lite" https://github.com/actions/checkout/tree/main
 
Atrás
Top Abajo