An error occurred while fetching the assigned iteration of the selected issue.
Rename the domain model from `Ci::Variable` to `Ci::ProjectVariable`
Description
After we've done https://gitlab.com/gitlab-org/gitlab-ce/issues/32568 and https://gitlab.com/gitlab-org/gitlab-ce/issues/12729, we also want to refactor Ci::Variable
to Ci::ProjectVariable
. Because Ci::Variable
or variable
was meant to be a project thing, but new kinds of variables will be added soon.
Plan
We do
- Refactor the domain name from
Ci::Variable
toCi::ProjectVariable
- Refactor
variable
toproject_variable
in codebase - Refactor factory from
factory :ci_variable
tofactory :ci_project_variable
- those changes have been included in a Backend MR of Group-wide secret variable, so we'll decouple the change to a new MR
We don't
- Rename table from
ci_variables
toci_project_variables
Proposal
Refactor in all codebase (function/tests/doc)