5 ms·
Does anyone host their own git repos in an enterprise environment? How do you do it and what are some good resources for learning how to do this?
by acyou 3y ago
Does anyone host their own git repos in an enterprise environment? How do you do it and what are some good resources for learning how to do this?
- aeyes 3y agoYes using gitolite, it just works. In the past I worked at a company which used the commercial solution from JFrog, I don't remember ever having problems with git availability as a user.
- tommy_axle 3y agoYes, we do this using https://gitea.io/en-us/ https://gitea.io/en-us/ on a private server (firewall, backups and a replica) for most projects. Github is only used when it's required by a stakeholder.
- trollied 3y agoYes, gitlab. Self-hosted, behind a VPN.
- Kelteseth 3y agoThis. Rock solid for the last 4 years.
- shagie 3y agoAre you interested in spinning up an entire CI environment? or something where anyone can push a branch to a file based mirror? There are aspects of permissioning that the cloud git repo providers have that become more challenging to implement as a home grown solution and unless you have the resources to maintain it, it also becomes interesting. On one hand, you can do `git clone --mirror` and you'll have a copy of the repo and put that on a file share... though there's no permissions or automatic syncs for it (or CI). If you want those, then you get into some development (and maintenance) of the git hooks. Going to things like a local hosted gitlab instance means that you need to have a local docker hosted environment running, and someone to maintain that, and the storage for it, and all of the other fun that comes with administering a complex 3rd party application on prem. When things are going good, it's an hour or two a week... when something breaks its several hours with calls to support (you're using a paid / licensed version to get support... right?) from someone who has a sysadmin skill set rather than a developer skillset. And don't forget about DR.
- cube2222 3y agoYou can just use GitHub Enterprise if you want GitHub, but self-hosted.
- q3k 3y agoYes, primary on Gerrit, backup replica to $wherever. Bonus: actually usable code review platform.
- c12 3y agoAt a previous employer we used gitea along with jenkins.