Skip to content

Cleanup 'CI runner tokens duplicates cleanup' migrations

Pedro Pombeiro requested to merge pedropombeiro/376709/cleanup-migrations into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Following the process for cleaning up migrations, we need to cleanup the migrations introduced by !98689 (merged) in %15.5, and the ones introduced by !83733 (merged) in %15.0.

The migrations have already been finalized before:

$ rg "finalize_background_migration 'ResetDuplicateCiRunnersToken.*Values.*'" db
db/migrate/20220617123144_drop_temp_index_on_projects_on_id_and_runners_token_encrypted.rb
9:    finalize_background_migration 'ResetDuplicateCiRunnersTokenEncryptedValuesOnProjects'

db/post_migrate/20221021082255_add_unique_index_on_ci_runners_token.rb
9:    finalize_background_migration 'ResetDuplicateCiRunnersTokenValues'

db/migrate/20220617123135_drop_temp_index_on_projects_on_id_and_runners_token.rb
9:    finalize_background_migration 'ResetDuplicateCiRunnersTokenValuesOnProjects'

db/post_migrate/20221021082312_add_unique_index_on_ci_runners_token_encrypted.rb
9:    finalize_background_migration 'ResetDuplicateCiRunnersTokenEncryptedValues'

Closes #376709 (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 Pedro Pombeiro

Merge request reports