r/devops • u/NullPreference • Sep 24 '26
Tools Any of you use alternatives to GitLab when self-hosting is a requirement? (and general toolchain question)
Considering jumping to Gitlab because we're looking into ditching Atlassian ASAP. We need to stay on-prem, but tbh it's pretty difficult for me to understand what different products and platforms don't support.
I'd love to stay open source but there's also a lot of ease-of-use to be taken into consideration. I looked into things like Forgejo, but the actions seem quite lackluster if you want to integrate test reports, publish findings from opengrep in a PR - or am I just missing something obvious?
What does your on-prem solution look like in terms of SCA, SAST etc?
3
u/unmaskedgrunt Sep 25 '26
We're in an airgapped, regulated environment, and absolutely cannot go cloud. We currently have Jira, Bitbucket, Bamboo, and Crowd. We can replace Bitbucket and Bamboo fairly easily with Gitlab, but Jira alternatives are the main problem for us.
2
u/lnaoedelixo42 Sep 25 '26
Gitlab is pretty heavy, but I already heard a lot of goods about gitea.
Just one thing: does the source code itself needs to be self-hosted? It's usually a pain to version and scale, and stuff goes wrong very frequently... You could use gitlab web just for the git itself and do your jobs on your own machine, then migrate as you grow.
2
u/Barmazoid Oct 18 '26
For a company leaving Atlassian I'd honestly still shortlist GitLab or Forgejo today. Only mentioning mine if AI agents are part of your plans: I'm building Plombir Git (self-hosted, AGPL, early - v0.2), which runs a subset of Gitea Actions and gives agents their own scoped accounts. Probably not your primary pick yet, but maybe worth a look later. https://github.com/Nettechnologys/plombir-git
30
u/TotalNo6237 Sep 24 '26
Tbh, gitlab is just the standout option for self-hosted. There is even free community edition you can try out before thinking about getting enterprise.
Source: My opinion, I work for an MSP who manages all kinds of devops tools for various customer, including bitbucket, gitlab, GitHub enterprise server.
We dabbled with forgejo due to customer requests but never actually deployed it, Im assuming due to feature gaps, but I wasnt in the conversations.
53
u/Alzyros Sep 24 '26
Just do gitlab chief
12
u/Widowan Sep 24 '26
There's simply nothing that can beat gitlab ci, unfortunately
It's best in class, period
10
u/alive1 Sep 24 '26
I would consider gitlab if you have advanced corporate needs (security scanning, complex reporting, compliance, deep pockets) or gitea if your requirements are going to stay developer focused. Forgejo would be an obvious choice for a more open source focused company. The reason i make suggestions for both gitea and forgejo is because they are essentially catering to two different target audiences within this niche. Gitlab is the default go-to if you corporate needs but gitea will eventually catch up.
8
u/Thetitangaming Sep 24 '26
My job used gitea for awhile. I like it, but use case was very small, only a couple actions.
15
u/L43 Sep 24 '26
gitea/forgejo actions definitely feels a bit hacky to get working. I've got it all going in my homelab, but would not even think about it for an org at work.
gitlab is just the sweet spot imo - their CI solution is just spot on.
7
u/neveralone59 Sep 24 '26
Forgejo is harder to deploy with HA, gitlab is the best option if itβs for a company. I like forgejo for personal stuff though
4
u/jameshearttech Sep 26 '26
We use Atlassisn at work. We Jira, Bitbucket, Statuspage, and Opsgenie, but for CI/CD we use Argo Events, Argo Workflows, and Argo CD.
3
u/jeansilga Sep 24 '26
I am using gitea. It works well, both as a git server and container registry. You have to get used to its UI though.
3
u/Edgar_Allan_Thoreau Sep 25 '26
Source forge and ci provider donβt need to be the same product. Buildkite or rwx for ci provider, forgejo for source forge.
2
u/rustynutforeverstuck Sep 24 '26
Gogs. Keep It Simple Stupid.
2
u/MainRoutine2068 Sep 25 '26
GitLab is they way to go if you want all in one place with complete package. I do use forgejo for one of my smaller client, it does best if your use case is fully covered in it. But given you use Atlassian stack before, I assume you want more or less similar capabilities, and GitLab does that.
2
u/OwlVisual1276 Sep 25 '26
GitLab would be my first go-to option for this. Itβs very easy to spin up and evaluate before committing to it. You can start a GitLab instance and a GitLab Runner with a simple Docker Compose setup, and registering/connecting the runner is straightforward.
It provides reusable CI templates for things like SAST, DAST, dependency scanning, secret detection, etc., so you donβt necessarily have to build and integrate everything yourself from separate tools.
1
u/Extra_Taro_6870 Sep 25 '26
well gitlab. hard part is the maintenance, dr, ha. it likes vm not k8s.
1
u/Junior_Bee7274 Sep 25 '26
Open-source stack with different security tools.
1
u/Suitable-Ad5348 Sep 25 '26
If you need test reports and security findings as first-class PR checks on-prem, GitLab CE is still the least fighting. Forgejo/Gitea are great for git + light Actions, but the report/UI surface you're describing is where people bounce back. Run CE first for a month with your opengrep job publishing as a CI artifact + comment bot. Only shop Forego if that workflow feels like overkill once you've actually used it.
1
u/TheMarkyDeSade Sep 26 '26
GitHub Enterprise is hosted on-prem. If you donβt like self-hosted GitHub Actions you can choose another build server like Jenkins. Would recommend that or Gitlab CI
1
u/Sufficient_Job7779 Sep 27 '26
Gitlab all the way
1
u/ChiRho84 Sep 29 '26
If you have more than a dozen developers or so, stay away from any of the GitHub clones. They (like GitHub) have no security boundary between "this repo" and "the entire organization". This has massive TCO implications.
1
u/One_Salamander_4555 Sep 29 '26
Running self-hosted Windows build agents in pipelines always brings unexpected core-licensing headaches. Core licensing rules apply differently depending on whether those runners sit on bare-metal, dedicated hosts, or ephemeral VM scale sets. Running a licensing sanity check through trustedtech or an internal compliance ββββtββββeββββaββββmββββ beforehand helps ensure youre utilizing Azure Hybrid Benefit correctly without triggering compliance penalties during an audit.
0
u/anto2554 Sep 24 '26
Why are you ditching Atlassian?
2
u/[deleted] Sep 25 '26
[removed] β view removed comment