Backend: Change raw default for ci-variables tables
Summary
In !88554 (merged), we added raw
attributes to all ci-variables tables with default true
. However, it has to be false
because currently when you add a project/group variable or a YAML variable, their default raw
value is false
.
We did not break anything with !88554 (merged) because "thankfully" we ignore raw
value when converting these variables with to_runner_variable
in app/models/concerns/ci/has_variable.rb
.
Proposal
Step | MR |
---|---|
1. Remove and add the raw attribute again |
!98527 (merged) |
2. Fix ci_job_variables.raw (!98527 (comment 1126894456)) |
!100705 (merged) |
3. (Optional) Change the logic of to_runner_variable to support raw . |
!100020 (merged) |
Edited by Furkan Ayhan