Welcome to mirror list, hosted at ThFree Co, Russian Federation.

migrate_pages_to_zip_storage.rb « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f53f2e8ee79e2f541dd1037448a890758e21c8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Gitlab
  module BackgroundMigration
    # migrates pages from legacy storage to zip format
    # we intentionally use application code here because
    # it has a lot of dependencies including models, carrierwave uploaders and service objects
    # and copying all or part of this code in the background migration doesn't add much value
    # see https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54578 for discussion
    class MigratePagesToZipStorage
      def perform(start_id, stop_id)
        # no-op
      end
    end
  end
end