Skip to content

Added local_store to gitlab.yml file

Etienne Baqué requested to merge 301159-add-local-storage into master

What does this MR do?

Relates to #301159 (closed)

This MR introduces pages: local_store to config/gitlab.yml. Following this introduction, this new config is used along pages_update_legacy_storage FF occurrences, as we'll be transitioning from this FF to Settings.pages.local_store.enabled. Related rspecs were updated accordingly.

Other than that:

  • this MR introduces a new initializer, config/initializers/pages_storage_check.rb - it makes sure that at least one enabled attribute (for pages: local_store or pages: object_store) is set to true.
  • Omnibus MR: omnibus-gitlab!5058 (merged)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #301159 (closed)

Edited by Grzegorz Bizon

Merge request reports

Loading