Use Gitaly for Environment#first_deployment_for
What does this MR do?
Migrates Environment#first_deployment_for
(technically Repository#find_name_for_sha
) to Gitaly
Are there points in the code the reviewer needs to double check?
Specs
Why was this MR needed?
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together