Sha256: 08c7fa618ab2b64b21814e9ed77ccf57a5542216d787397c64e9967c5b922376

Contents?: true

Size: 488 Bytes

Versions: 16

Compression:

Stored size: 488 Bytes

Contents

require File.expand_path("../engine", File.dirname(__FILE__))

namespace :katello do
  desc "Runs a Pulp 3 migration of pulp3 hrefs to pulp ids for supported content types."
  task :pulp3_content_switchover => :environment do
    ActiveRecord::Base.transaction do
      switchover_service = Katello::Pulp3::MigrationSwitchover.new(SmartProxy.pulp_master)
      switchover_service.run
    end
  rescue Katello::Pulp3::SwitchoverError => e
    $stderr.print(e.message)
    exit 1
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
katello-3.16.2 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.1.2 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.1.1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.17.0.rc1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc5.1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc5 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc4.1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc4 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc3.1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc3 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc2.1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc2 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc1.1 lib/katello/tasks/pulp3_content_switchover.rake
katello-3.16.0.rc1 lib/katello/tasks/pulp3_content_switchover.rake