Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

What happened to the GitLab plugin?

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

begleysm

Neophyte
Joined
Nov 30, 2018
Messages
8
My brother was experimenting with the GitLab plugin on his FreeNAS box running 11.2-U5. He using the Plugin manager to create a GitLab jail. In learning about FreeNAS and about GitLab he ended up removing the jail and reinstalling from the Plugin manager 6 or 7 times. After the last time the GitLab plugin was no longer showing in the Available Plugins list. We both assumed that something had gotten cobbed up on his machine.

Later I logged onto my FreeNAS 11.2-U5 box, went to Plugins / Available and, lo & behold, GitLab wasn't in the list of available plugins for me either!

Anyone know what is going on?
 

begleysm

Neophyte
Joined
Nov 30, 2018
Messages
8
Thanks!

I wondered if it was something like that but wasn't sure where to look to confirm.
 

blanchet

Member
Joined
Apr 17, 2018
Messages
239
GitLab releases a new version every month, therefore it is difficult for the port maintainers to follow the train. Most people use the omnibus packages provides by GitLab, but they run only on Linux.

If you want to have a Git repository on FreeNAS, the most serious alternatives are
 
Last edited:

iLikeWaffles

Junior Member
Joined
Oct 18, 2019
Messages
15
Thanks blanchet!

I use Gitlab at work, so I'm strongly biased in favor of learning it specifically.

I know there's gitlab-runner for BSD available. I assume it's not the gitlab repository/webUI, but just an agent for building stuff and CI, right?

I've installed docker, so the options I have are either a Gitlab VM or Gitlab on Docker. How much of a performance penalty would I have with those? Any reason to choose one over the other?

Or is running Gitlab on Freenas just a stupid idea and I should just hunt down another server to run Gitlab natively and just mount a FreeNAS NFS share as repo storage? (I have a lot of repos and FreeNAS is supposed to store all that data)
 

blanchet

Member
Joined
Apr 17, 2018
Messages
239
gitlab-runner is the agent to run the gitlab CI tasks defined in the .gitlab-ci.yml file.
On FreeNAS, the docker containers run in a Linux VM, so there is no performance benefits to use the docker version instead of the VM version.

Running GitLab on FreeNAS is a still good idea because you can have an all-in-one solution.
You can run gitlab-ce:
  1. in a jail
  2. in a Linux bhyve VM

The first choice is ideal to learn how gitlab internally works because you will have to manually setup each component (ruby, ngnix, Redis and PostgreSQL).
The second choice is recommended for production because GitLab.com provides an all-in-one package called omnibus, that is very easy to install and maintain.
 

fahadshery

Member
Joined
Sep 29, 2017
Messages
76
Hi @blanchet. I have successfully installed GitLab and GitLab runner (in separate iocage jails).
I wish to use docker when registering my runner.
Any ideas what I have to do to enable it?
Do I need to install a ubuntu VM with docker installed? If yes, how do i set runner to use docker from it?

thanks in advance!
 

fahadshery

Member
Joined
Sep 29, 2017
Messages
76
Anyone looking for the above answer is you will have to run a VM with docker and gitlab runner installed and register it with your gitlab project using Runner section in the Settings.
It would be great to have the runner plugin back online though
 
Top