diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-07 00:07:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-07 00:07:54 +0300 |
commit | 99ddca0d88f1e4e49d61b1aa9d41b5785528d1dc (patch) | |
tree | 556577b458832ebbc43b299e5bf436adf8b1c606 /lib/tasks | |
parent | e1867c38fc5a4b931b4b2256d4909182e94f1051 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/import_export/import.rake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/import_export/import.rake b/lib/tasks/gitlab/import_export/import.rake index f999a05875d..42b36873519 100644 --- a/lib/tasks/gitlab/import_export/import.rake +++ b/lib/tasks/gitlab/import_export/import.rake @@ -9,12 +9,13 @@ # @example # bundle exec rake "gitlab:import_export:import[root, root, imported_project, /path/to/file.tar.gz]" # -require 'sidekiq/testing' - namespace :gitlab do namespace :import_export do desc 'EXPERIMENTAL | Import large project archives' task :import, [:username, :namespace_path, :project_path, :archive_path] => :gitlab_environment do |_t, args| + # Load it here to avoid polluting Rake tasks with Sidekiq test warnings + require 'sidekiq/testing' + warn_user_is_not_gitlab if ENV['IMPORT_DEBUG'].present? |