Skip to content

Fix data in import_sources column of application_settings

Reuben Pereira requested to merge rp/fix-import-sources into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Fix data in import_sources column of application_settings.

!118026 (merged) incorrectly saved import_sources as serialized string instead of as serialized YAML.

This MR:

  • Fixes the original migration to properly store import_sources as serialized YAML.
  • Introduces a new migration to convert the serialized string to YAML in any environments where the migration has already run.

Related to gitlab-com/gl-infra/production#9134 (closed).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Reuben Pereira

Merge request reports