What happened to the GitLab plugin?

begleysm

Cadet
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

Cadet
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

Guru
Joined
Apr 17, 2018
Messages
511
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

Dabbler
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

Guru
Joined
Apr 17, 2018
Messages
511
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

Contributor
Joined
Sep 29, 2017
Messages
179
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

Contributor
Joined
Sep 29, 2017
Messages
179
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
 

fahadshery

Contributor
Joined
Sep 29, 2017
Messages
179
I was able to re-install gitlab based on 12.2-RELEASE on TrueNas Core 12.0 Based on this guide.
The only changes were to add the jail ip in the host (gitlab.yml)
And enabling the sshd service for ssh cloning of the repos!
It has boosted the speed and very very responsive now :)
 
Top