elastic_repo_indexer does not follow configuration options
-
https://gitlab.com/gitlab-org/gitlab-ee/blob/master/bin/elastic_repo_indexer#L17
This part should be changed to, because the json passed to the subprocess doesn't use symbols:
ELASTIC_HOST = elastic_connection_info['host'] ELASTIC_PORT = elastic_connection_info['port']
-
This should be changed to include
host: ELASTIC_HOST, port: ELASTIC_PORT
.Dirty hack for this:
ENV['ELASTICSEARCH_URL'] = "#{ELASTIC_HOST.first}:#{ELASTIC_PORT}"