gitlab-ce: add rake task that prints TOML storage configuration
A lot of people will eventually have to create a config.toml file for Gitaly that matches the repositories.storages
section in their gitlab/config/gitlab.yml file. It would be nice if we had something like this:
$ rake gitlab:gitaly:storage_config RAILS_ENV=production
# Gitaly storage configuration generated from /path/to/gitlab.yml on <DATE>
# This is in TOML format suitable for use in Gitaly's config.toml file.
[[storage]]
name = "default"
path = "/home/git/repositories"
[[storage]]
name = "other_storage"
path = "/mnt/other/repositories"
This will be useful for GDK too.