Make Gitaly no downtime upgrades work again in 16.9
NOTE: This merge request targets the 16-9-stable
branch.
In GitLab 16.9, !6624 (merged) bumped the default version of Git from v2.42 to v2.43 and stopped the building of Git v2.42. However, this broke no-downtime upgrades from GitLab 16.8 to 16.9 because:
-
GitLab 16.8 defaults to Git v2.42.
-
The runtime directory symlinks to the Git v2.42 binaries in
/opt/gitlab/embedded/bin
, but after an upgrade to 16.9 those binariees are removed in Omnibus GitLab.
This commit makes Gitaly no-downtime upgrades work again from 16.8 to 16.9 by partially reverting !6624 (merged) so that Git v2.42 is included even if it's not used.
Relates to #5927 (closed)
Edited by Stan Hu