-
- Downloads
There was a problem fetching the pipeline summary.
Use ActiveRecord::Tasks::DatabaseTasks directly in geo rake tasks
Instead of piggybacking on the existing `db:` rake tasks, redefine them and correctly set all the variables. Using a ruby module with methods used by the Rakefile. 10.0 backport of gitlab-org/gitlab-ee!3019. Closes #3543
parent
a7d6328a
No related branches found
No related tags found
Pipeline #
Showing
- changelogs/unreleased-ee/tc-geo-use-database-tasks.yml 5 additions, 0 deletionschangelogs/unreleased-ee/tc-geo-use-database-tasks.yml
- lib/gitlab/geo/database_tasks.rb 193 additions, 0 deletionslib/gitlab/geo/database_tasks.rb
- lib/tasks/geo.rake 117 additions, 52 deletionslib/tasks/geo.rake
- spec/lib/gitlab/geo/database_tasks_spec.rb 118 additions, 0 deletionsspec/lib/gitlab/geo/database_tasks_spec.rb
lib/gitlab/geo/database_tasks.rb
0 → 100644
spec/lib/gitlab/geo/database_tasks_spec.rb
0 → 100644
Please register or sign in to comment