Skip to content

Instrument database migrations

Andreas Brandl requested to merge ab/instrument-migrations into master

What does this MR do?

This adds a rake task to execute pending database migrations with added instrumentation. This is only relevant in context of "database testing", see !51347 (merged).

The idea is to:

  1. Execute rake gitlab:db:migration_testing[somefile.json] on a thin clone
  2. This produces observations captured in somefile.json
  3. The json file is being used to report those observations back to the MR

Does this MR meet the acceptance criteria?

Conformity

Edited by Andreas Brandl

Merge request reports