Refactor gitlab based releases
I'm working on gitaly automated tagging based on last auto-deployed SHA https://gitlab.com/gitlab-org/release-tools/issues/384
This is a small refactoring I'd like to extract from my main MR.
Today we already have 2 classes using read_file_from_gitlab_repo
and I'm going to add a third one soon.