in lib/gitlab/qa/component/gitaly.rb [60:82]
def gitaly_omnibus_configuration
<<~OMNIBUS
praefect['enable'] = false;
prometheus['enable'] = true;
gitaly['enable'] = true;
gitaly['configuration'] = {
'listen_addr': '0.0.0.0:#{gitaly_port}',
'prometheus_listen_addr': '0.0.0.0:9236',
'auth_token': 'PRAEFECT_INTERNAL_TOKEN',
'transactions': {'enabled':
storage: [
{
name: '#{name}',
path: '/var/opt/gitlab/git-data/repositories',
},
]
}
gitlab_shell['secret_token'] = 'GITLAB_SHELL_SECRET_TOKEN';
gitlab_rails['internal_api_url'] = 'http://#{cluster_config.gitlab_name}.#{cluster_config.network}';
OMNIBUS
end