Project 'gitlab-org/gitlab-ce' was moved to 'gitlab-org/gitlab-foss'. Please update any links and bookmarks that may still have the old path.
Backend: Deprecate `Repository#gitlab_ci_yml_for` method
View options
- Truncate descriptions
Backend: Deprecate `Repository#gitlab_ci_yml_for` method
Problem
The method Repository#gitlab_ci_yml_for
is used in many places as well as Project#ci_config_for
. Both methods are nowadays ambiguous since the SSoT is Ci::ProjectConfig
because a project can define the ci_config_path
to be an external project or a URL.
If for the use case at hand we specifically want the local CI config file we should first check if it exists and then use Repository#blob_data_at
.
For use cases where we need the content of the actual CI yaml, regardless of the location, we should use Ci::ProjectConfig
.
Proposal
deprecate and remove Repository#gitlab_ci_yml_for
and Project#ci_config_for
methods.


- Show labels
- Show closed items
Link items together to show that they're related or that one is blocking others.