In GitLab.com not all instances run gitaly, but finding the version will fail
In GitLab.com, our complex deployment mechanism requires that we find the version of gitaly running prior to performing various actions. Unfortunately, it looks like finding a version on nodes that do not run gitaly will fail:
# /opt/gitlab/embedded/bin/gitaly -version
FATA[0000] load config config_path= error="open : no such file or directory"
We should not need to load a config file to simply check the version of gitaly that is installed.