Move Import file removal to a cron job
Update file-based Project/Group Import to remove import_file used to do the import to a cron job and not during the import process to allow future restarts of the process. Changelog: other
显示
- app/models/import_export_upload.rb 2 个添加, 0 个删除app/models/import_export_upload.rb
- app/services/groups/import_export/import_service.rb 1 个添加, 1 个删除app/services/groups/import_export/import_service.rb
- app/services/import/import_file_cleanup_service.rb 19 个添加, 0 个删除app/services/import/import_file_cleanup_service.rb
- app/workers/all_queues.yml 20 个添加, 0 个删除app/workers/all_queues.yml
- app/workers/gitlab/import/import_file_cleanup_worker.rb 18 个添加, 0 个删除app/workers/gitlab/import/import_file_cleanup_worker.rb
- app/workers/gitlab/import/remove_import_file_worker.rb 34 个添加, 0 个删除app/workers/gitlab/import/remove_import_file_worker.rb
- app/workers/repository_import_worker.rb 14 个添加, 0 个删除app/workers/repository_import_worker.rb
- config/initializers/1_settings.rb 3 个添加, 0 个删除config/initializers/1_settings.rb
- config/sidekiq_queues.yml 2 个添加, 0 个删除config/sidekiq_queues.yml
- db/migrate/20250227104609_add_partial_index_to_import_export_uploads_on_update_at_and_id.rb 16 个添加, 0 个删除...ial_index_to_import_export_uploads_on_update_at_and_id.rb
- db/schema_migrations/20250227104609 1 个添加, 0 个删除db/schema_migrations/20250227104609
- db/structure.sql 2 个添加, 0 个删除db/structure.sql
- lib/gitlab/import_export/importer.rb 2 个添加, 1 个删除lib/gitlab/import_export/importer.rb
- spec/lib/gitlab/import_export/importer_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/import_export/importer_spec.rb
- spec/models/import_export_upload_spec.rb 8 个添加, 2 个删除spec/models/import_export_upload_spec.rb
- spec/services/import/import_file_cleanup_service_spec.rb 35 个添加, 0 个删除spec/services/import/import_file_cleanup_service_spec.rb
- spec/workers/gitlab/import/import_file_cleanup_worker_spec.rb 19 个添加, 0 个删除.../workers/gitlab/import/import_file_cleanup_worker_spec.rb
- spec/workers/gitlab/import/remove_import_file_worker_spec.rb 52 个添加, 0 个删除spec/workers/gitlab/import/remove_import_file_worker_spec.rb
- spec/workers/repository_import_worker_spec.rb 29 个添加, 11 个删除spec/workers/repository_import_worker_spec.rb
加载中
想要评论请 注册 或 登录