Commit Graph

9 Commits

Author SHA1 Message Date
Yorick Peterse b3331cf3df
Added Rubocop config for background migrations
This adds a Rubocop configuration file specific to
lib/gitlab/background_migrations. This configuration will be used to
(hopefully) make reviewing background migrations easier by enforcing
stricter rules compared to the rest of GitLab. Because this
configuration is directory specific it will only affect background
migrations.
2017-11-23 13:56:51 +01:00
Grzegorz Bizon 2719b2f0a1 Simplify stage_id migration as we now use relations 2017-07-07 15:52:45 +02:00
Grzegorz Bizon c467451ea6 Schedule stage_id bg migrations in batches of 10 2017-07-07 15:45:32 +02:00
Grzegorz Bizon fb89ba2482 Schedule stage_id background migration in ranges 2017-07-07 15:08:15 +02:00
Grzegorz Bizon 84d9789d57 Sanitize id value passed to async background migration 2017-07-07 15:08:15 +02:00
Grzegorz Bizon d953f1762e Improve readability of build stage id migration query 2017-07-07 15:08:15 +02:00
Grzegorz Bizon 989785a31d Test if argument passed to a migration is present 2017-07-07 15:08:15 +02:00
Grzegorz Bizon b7d672328d Add initial build stage_id ref background migration 2017-07-07 15:07:29 +02:00
Grzegorz Bizon 16ae7b7a49 Add initial stage_id background migration files 2017-07-07 15:07:29 +02:00