-
- Downloads
Added checks for migration downtime
These new checks can be used to check if migrations require downtime or not (as tagged by their authors). In CI this compares the current branch with master so migrations added by merge requests are automatically verified. To check the migrations added since a Git reference simply run: bundle exec rake gitlab:db:downtime_check[GIT_REF]
Showing
- .gitlab-ci.yml 2 additions, 1 deletion.gitlab-ci.yml
- doc/development/migration_style_guide.md 23 additions, 23 deletionsdoc/development/migration_style_guide.md
- generator_templates/active_record/migration/create_table_migration.rb 8 additions, 0 deletions...mplates/active_record/migration/create_table_migration.rb
- generator_templates/active_record/migration/migration.rb 8 additions, 0 deletionsgenerator_templates/active_record/migration/migration.rb
- lib/gitlab/downtime_check.rb 71 additions, 0 deletionslib/gitlab/downtime_check.rb
- lib/gitlab/downtime_check/message.rb 28 additions, 0 deletionslib/gitlab/downtime_check/message.rb
- lib/tasks/downtime_check.rake 26 additions, 0 deletionslib/tasks/downtime_check.rake
- lib/tasks/gitlab/db.rake 15 additions, 0 deletionslib/tasks/gitlab/db.rake
- spec/lib/gitlab/downtime_check/message_spec.rb 17 additions, 0 deletionsspec/lib/gitlab/downtime_check/message_spec.rb
- spec/lib/gitlab/downtime_check_spec.rb 113 additions, 0 deletionsspec/lib/gitlab/downtime_check_spec.rb
lib/gitlab/downtime_check.rb
0 → 100644
lib/gitlab/downtime_check/message.rb
0 → 100644
lib/tasks/downtime_check.rake
0 → 100644
spec/lib/gitlab/downtime_check_spec.rb
0 → 100644
Please register or sign in to comment