Optimize ProjectConfig::Repository file existence check
What does this MR do and why?
gitlab_ci_yml_for calls blob_data_at, which loads the blob data of .gitlab-ci.yml into memory.
This is a waste, since we just want to know if .gitlab-ci.yml exists in the repository. We can use blob_at instead,
and avoid reading the blob data.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Brian Williams