Make update command Geo-aware
Currently when Geo instance (secondary) is configured, by design, postgres db for the instance is made read-only and is updated only by replicating data from primary instance.
When you try to update GitLab of Geo instance using gdk update
command, it tries to run bundle exec rake db:migrate db:test:prepare
to migrate db during the update and ends up failing during migration, instead, it should be running bundle exec rake geo:db:migrate
.
Edited by Kushal Pandya