Deploy Gitaly 0.52.1 compiled with Go 1.9 to nfs-file-10
As discussed in gitlab-org/gitaly#823 (comment 51288234)
This is a long shot but it might buy us some headroom.
- install custom gitaly binary in /opt/gitaly
- verify that the binary starts
-
update /etc/gitlab/gitlab.rb (via Chef) only for nfs-file-10 to use the custom binary in /opt/gitalyedit/opt/gitlab/sv/gitaly/run
and restart gitaly withgitlab-ctl restart gitaly
Once chef applies the changes Gitaly will be restarted using the custom binary.
This is a fragile state because once we deploy 10.3.0-RC1, nfs-file-10 will remain pinned to Gitaly v0.52.1 which is too old for GitLab 10.3 and things will start breaking. We have to undo the /etc/gitlab/gitlab.rb change before we deploy a 10.3 release candidate.
Note that on the next gitlab-ctl reconfigure run, omnibus will revert to the original binary. I think this is the safe approach for us.
Edited by Jacob Vosmaer