Move Gitaly gem creation to Release Tools
Currently the steps for generating the Gitaly gem is as followed:
- Create a new branch and make changes to the proto
- Get approvals and merge this branch to master
- Create a release tag for the merged commit
- run
make publish-proto-gem
in Gitaly, which will runbuild-proto-gem
internally.
Following which, the newer version of the gem can be pulled into Rails. This works, but doesn't provide a way to create/test gems before merging rendering https://docs.gitlab.com/ee/development/gitaly.html#use-a-locally-modified-version-of-gitaly-rpc-client to be inaccurate.
To fix this, a potential solution would be to move the generation of the Gitaly gem entirely into https://gitlab.com/gitlab-org/release-tools/. This way the gem can be automagically be created and used as per the GITALY_SERVER_VERSION
Edited by Karthik Nayak