Provide command to set custom hooks in a Gitaly Cluster
Release Notes
Purpose
This issue is a follow on from #4629 (closed), which expands the custom hooks to work with Gitaly Cluster.
Based on that issue, the goals here are to ensure that custom hooks are set in one place via an API endpoint, and automatically replicated to all nodes in the cluster.
Upon the completion of #5001 (closed), we can build the hooks set
command on top of the praefect CLI.
Workaround
Based on this comment, #4629 (closed) will allow custom hooks to be set on all nodes, but it will need to be done independently for each node that contains a replica of the repository. This is less than ideal.
Edited by Mark Wood