Skip to content

Chore: Deprecate advanced search migrations (1 of 3)

John Mason requested to merge jm-385424-deprecate-migrations into master

What does this MR do and why?

Deprecated migrations with failing specs split into separate MRs:

Resolves: #385424 (closed)

Related to: gitlab-org/search-team/migration-graveyard!1 (merged)

For future reference, I used this script to find which specs to update after marking migrations as obsolete.

#!/usr/bin/env bash

for filename in $(grep -Ril MigrationObsolete ee/elastic/migrate); do
    migration_name=$(echo $filename | cut -d '_' -f 2- | cut -d '.' -f 1)
    echo "#> $migration_name"
    grep -Rin ":$migration_name" ee/
done

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 John Mason

Merge request reports