Migrate Geo Tracking database configuration into database.yml
Overview
Configuring a Geo Tracking database is done using the geo_secondary[]
configuration options.
Behind the scenes, this populates geo_database.yml
.
It needs to instead configure database.yml
using the multi-database configuration methodology recently enabled by !5480 (merged).
Out of scope
Moving to unified configuration methods and options is part of #6306 (closed) and a separate task.
Definition of done:
- when
geo_secondary[]
fields are configured ingitlab.rb
, they should populatedatabase.yml
instead ofgeo_database.yml
- new Geo deployment works as expected with Geo Tracking in
database.yml
- upgrading from existing deployment using
geo_database.yml
to package that usesdatabase.yml
works smoothly
Edited by Robert Marshall