By default GitLab will automatically provision a Helix Server and connected Helix Git Fusion for you.
If you wish to use an existing Helix Git Fusion instance you can comment out the 'local' instance and add new config entries:
#gitswarm['git-fusion']['local']['url'] = :auto_provision
#gitswarm['git-fusion']['local']['password'] = '<PASSWORD>'
Instructions on configuring the connection to external Helix Git Fusion can be found here.
When GitLab is left in its local
auto-provision mode, the Helix Server is configured with the following configuration:
Port
Users
/etc/gitlab/gitlab.rb
, super user privilege)5iveL!fe
, super user privilege)Root
/var/opt/gitlab/perforce/data
gitlab
p4dctl is used to interact with the server and is configured in /etc/perforce/p4dctl.conf.d/gitlab.conf
When the root
user password is updated from the GitLab UI the password change will also take effect for the root
Perforce user.
If :auto_provision
is not specified in /etc/gitlab/gitlab.rb
when sudo gitlab-ctl reconfigure
is executed any running auto provisioned instance will be shut down and disabled from automatic start up on boot in the p4dctl configuration.
The following steps are taken when a default Helix Git Fusion is configured:
configure-git-fusion
script provided by the package is executedgit-fusion
OS user/etc/cron.d/perforce-git-fusion
is created to check for new user keys and update ~git-fusion/.ssh/authorized_keys
If :auto_provision
is not specified in /etc/gitlab/gitlab.rb
when sudo gitlab-ctl reconfigure
is executed the cron task will be removed.